[Bug 196] Error building core/thread.d

via D.gnu d.gnu at puremagic.com
Wed Oct 7 12:05:18 PDT 2015


http://bugzilla.gdcproject.org/show_bug.cgi?id=196

--- Comment #13 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Johannes Pfau from comment #12)
> Smaller test case:
> ----------------------------------------
> class ThreadError {}
> void foo()
> {
>     __gshared error = new ThreadError();
> }

It took me a while to put two and two together, but the unnamed data would be
created by ClassReferenceExp.  Can certainly give it a proper anonymous name
and unset the readonly flag on it.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20151007/25539fde/attachment.html>


More information about the D.gnu mailing list