[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
Thu Mar 29 20:59:13 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7788



--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> 2012-03-29 20:59:35 PDT ---
I'm not sure what is wrong. __gshared variable declaration is treated like
static variable one (even if it is in local), and its initializer is *always*
const-folded by interpretation(== CTFE).

And the behavior is in there from earlier than 2.058. So I'm sure that the
expressions have been failed to compile with bug 6419 and this issue never
relates to UFCS.

To simendsjo:
Please tell us the exact commit hash of dmd repository that succeeds to compile
the code. If you cannot do it, I'll close this bug as "resolved invalid" bug.

-- 
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