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
Comment #1 by k.hara.pg — 2013-01-27T00:46:55Z
Comment #2 by github-bugzilla — 2013-01-27T13:06:36Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/679a359204b9b55741f04111f82f9e51ed6b7a48 fix Issue 9409 - [2.062-alpha] Regression with $ inside of expression tuples https://github.com/D-Programming-Language/dmd/commit/6b6230fa91b23d077e29ee8b28dc04edc2d5f08d Merge pull request #1562 from 9rnsr/fix9409 Issue 9409 - [2.062-alpha] Regression with $ inside of expression tuples