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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Dmitry Olshansky <[email protected]> 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: -------