http://d.puremagic.com/issues/show_bug.cgi?id=7788
Summary: __gshared and UFCS - "Error: nested structs with constructors are not yet supported in CTFE (Bug 6419)" Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: simend...@gmail.com --- Comment #0 from simendsjo <simend...@gmail.com> 2012-03-28 00:41:09 PDT --- The following worked on an earlier head of 2.059, but as of yesterday, it fails: import std.algorithm, std.array, std.utf, std.conv; void main() { auto ok = [1].map!("a*1")().array(); __gshared auto ok2 = [1].map!("a*1")(); __gshared auto bug = [1].map!("a*1")().array(); } Only tested on linux with and without -m32 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------