← Back to index
|
Original Bugzilla link
Bug 8688 – Qualified indexing type tuple returns wrong result
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-18T10:24:00Z
Last change time
2012-11-14T21:21:40Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2012-09-18T10:24:12Z
Sample code: template TypeTuple(T...){ alias T TypeTuple; } void main() { alias TypeTuple!(int) T; foreach (i; TypeTuple!(0)) { alias const(T[i]) X; static assert(!is(X == int)); // fails static assert( is(X == const(int))); // fails } }
Comment #1
by k.hara.pg — 2012-09-18T10:26:44Z
https://github.com/D-Programming-Language/dmd/pull/1126
Comment #2
by github-bugzilla — 2012-11-07T01:59:22Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/5eba482f7ee486a679ca625a676f21e0ca63bbd5
fix Issue 8688 - Qualified indexing type tuple returns wrong result
https://github.com/D-Programming-Language/dmd/commit/8c5610c3f1f3cdd5d263997230352e9991ce82a7
Merge pull request #1126 from 9rnsr/fix8688 Issue 8688 - Qualified indexing type tuple returns wrong result