[Issue 9409] New: [2.062-alpha] Regression with $ inside of expression tuples

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 26 23:56:47 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9409

           Summary: [2.062-alpha] Regression with $ inside of expression
                    tuples
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dmitry.olsh at gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-01-26 23:56:46 PST ---
Courtesy of dustmite:

import std.typetuple;

template idxTypes(Prefix...)
{
TypeTuple!((Prefix[$-1])) idxTypes;
}

alias Types = idxTypes!(int);

Obviously this used to work.

git bisect says:

    commit: cd9ef35c402dbeb177343c7cea5b9ed4a5e6b94f
    Fix Issue 6408 - string[].init gives a wrong type

    Allow reinterpreting a slice or index expression as a dynamic array, static
array, or associative array

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list