August 02, 2012 [Issue 8499] New: ICE on undefined identifier | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8499 Summary: ICE on undefined identifier Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: simen.kjaras@gmail.com --- Comment #0 from Simen Kjaeraas <simen.kjaras@gmail.com> 2012-08-02 13:55:14 PDT --- This code: import std.variant; void main() { (Variant()).get!(typeof(() => i)); } Gives this error: foo.d(4): Error: undefined identifier i Assertion failure: 'fd && fd->inferRetType' on line 81 in file 'mangle.c' abnormal program termination -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 04, 2012 [Issue 8499] ICE on undefined identifier | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Kjaeraas | http://d.puremagic.com/issues/show_bug.cgi?id=8499 --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-08-04 11:51:56 PDT --- Reduced test case: struct Variant { @property T get(T)() { struct X {} // necessary } } void main() { (Variant()).get!(typeof(() => i)); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation