Bug 8702 – tuple(tuple(1)) fails to compile, but tuple(tuple(1),1) works

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-20T16:09:00Z
Last change time
2012-11-14T21:23:28Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
thelastmammoth

Comments

Comment #0 by thelastmammoth — 2012-09-20T16:09:21Z
inconsistent: auto a1=tuple(tuple(1));//CT error auto a2=tuple(tuple(1),1);//works bug?
Comment #1 by k.hara.pg — 2012-09-20T18:05:23Z
Comment #2 by github-bugzilla — 2012-09-28T07:08:17Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5186759832d67cf54b2ba8b50139ff8f89526422 fix Issue 8702 - tuple(tuple(1)) fails to compile, but tuple(tuple(1),1) works https://github.com/D-Programming-Language/phobos/commit/ecff5a0899c9193c41f0a147a293603cacdab485 Merge pull request #808 from 9rnsr/fix8702 Issue 8702 - tuple(tuple(1)) fails to compile, but tuple(tuple(1),1) works