http://d.puremagic.com/issues/show_bug.cgi?id=4469
Summary: [ICE] function literals class member Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-07-16 04:24:49 PDT --- D2 code: import std.traits: ReturnType; struct Foo { ReturnType!({}) bar; } void main() {} dmd 2.047 prints: test.d(3): Error: delegate test.Foo.__dgliteral1 function literals cannot be class members ty = 37 Assertion failure: '0' on line 141 in file 'mtype.c' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------