http://d.puremagic.com/issues/show_bug.cgi?id=3006
Don <clugd...@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE(e2ir.c) template module |ICE(e2ir.c, tocsym.c) |using array operation |template module using array | |operation --- Comment #1 from Don <clugd...@yahoo.com.au> 2009-05-19 01:18:11 PDT --- Fails also on D1 with a bizarre error message. Where the heck did variable 'p' come from? dmd bug2.d bug.d (order is important). ================ Error: variable p forward referenced Error: variable p forward referenced linkage = 0 Assertion failure: '0' on line 262 in file 'tocsym.c' abnormal program termination =========== bug.d ------ import bug2; void main() { foo!(long)(); } ------ bug2.d ------ void foo(T)() { long[] a; a[] = -a[]; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------