[Issue 9885] New: IFTI should consider known tuple types.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 5 11:16:48 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9885
Summary: IFTI should consider known tuple types.
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: pull, rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: k.hara.pg at gmail.com
--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-04-05 11:16:47 PDT ---
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]]);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list