[Issue 7788] __gshared and UFCS - "Error: nested structs with constructors are not yet supported in CTFE (Bug 6419)"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 28 04:31:57 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7788
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #2 from bearophile_hugs at eml.cc 2012-03-28 04:32:21 PDT ---
This program:
import std.algorithm, std.array;
void main() {
__gshared r = [1].map!q{a * 1}();
}
gives to me (2.059head, 32 bit Windows):
...\dmd2\src\phobos\std\algorithm.d(461): Error: nested structs with
constructors are not yet supported in CTFE (Bug 6419)
test.d(3): called from here: map([1])
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list