Only const or immutable class thread local variables are allowed
qznc
qznc at web.de
Tue Dec 10 02:31:32 PST 2013
On Tuesday, 10 December 2013 at 09:50:56 UTC, Joseph Rushton
Wakeling wrote:
> On 10/12/13 09:27, Jonathan M Davis wrote:
>> A lot of dmd's error messages aren't great.
>>
>>> Would this be better?
>>>
>>> Cannot initialize thread-local class variable %s with a
>>> mutable value.
>>> Only const or immutable initial values are allowed (e.g.
>>> null).
>>
>> That would be better.
>
> https://github.com/D-Programming-Language/dmd/pull/2943
>
> I can also add a bugzilla issue if you like, but maybe seems
> overkill ... ?
The changelog is partially generated from Bugzilla issues. That
was the main reason to also add issues for pull request, afaik.
More information about the Digitalmars-d-learn
mailing list