[Issue 11714] Improve error message for wrongly initialized thread-local class instances

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 11 14:25:45 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11714


David Nadlinger <code at klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at klickverbot.at


--- Comment #4 from David Nadlinger <code at klickverbot.at> 2013-12-11 14:25:36 PST ---
As I mentioned in the pull request, I believe what the error message is
supposed to say is something along the lines of: "Thread-local mutable class
variable cannot be initialized with reference to compile-time constant, use
static constructor instead."

Has been a while since I implemented ClassReferenceExp for LDC, though.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list