Bug 9885 – IFTI should consider known tuple types.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-04-05T11:16:00Z
Last change time
2013-04-07T02:19:48Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Blocks
9431

Comments

Comment #0 by k.hara.pg — 2013-04-05T11:16:47Z
On the constructor call, T is a known tuple type. It should be considered in IFTI. struct Tuple(T...) { this()(T values) {} } void main() { alias T = Tuple!(int[1][]); auto t = T([[10]]); }
Comment #1 by k.hara.pg — 2013-04-05T11:20:59Z
Comment #2 by github-bugzilla — 2013-04-06T13:00:30Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/374ff5e5b961f57b6964f62375315bf0ac1f863a fix Issue 9885 - IFTI should consider known tuple types https://github.com/D-Programming-Language/dmd/commit/2b88974f7ff127de02ae6a21dec5ebd08774ff5b Merge pull request #1847 from 9rnsr/fix9885 Issue 9885 - IFTI should consider known tuple types
Comment #3 by k.hara.pg — 2013-04-07T02:19:48Z
*** Issue 9894 has been marked as a duplicate of this issue. ***