[Issue 9712] New: IFTI does not support static arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 13 15:13:27 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9712
Summary: IFTI does not support static arrays
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2013-03-13 15:13:27 PDT ---
With DMD 2.062, the following code fails to compile:
auto func(T)(T[2] arg){ return arg; }
static assert(is(typeof(func([1,2]))==int[2]));
The code should compile.
--
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