http://d.puremagic.com/issues/show_bug.cgi?id=8234
Summary: symbols used in CTFE affect the function literal type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2012-06-13 07:33:14 PDT --- DMD 2.059: void foo(){ immutable int x = 0; static assert(is(typeof(*(){enum e=x;return e;})==function)); // fail } The static assertion should pass. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------