Bug 9409 – [2.062-alpha] Regression with $ inside of expression tuples
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-01-26T23:56:00Z
Last change time
2013-01-27T14:28:40Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
dmitry.olsh
Comments
Comment #0 by dmitry.olsh — 2013-01-26T23:56:46Z
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