The following code bypasses immutabililty with GDC but not DMD

John Colvin john.loughran.colvin at gmail.com
Fri Apr 12 02:56:29 PDT 2013


On Friday, 12 April 2013 at 07:53:13 UTC, Nicholas Smith wrote:
> On Friday, 12 April 2013 at 06:39:04 UTC, Iain Buclaw wrote:
>> On Friday, 12 April 2013 at 00:50:03 UTC, Nicholas Smith wrote:
>>> I don't know how to file bug reports but I'm sure this 
>>> shouldn't happen :)
>>> DMD gives an error.
>>>
>>
>> That's a bug in the frontend, which has since been fixed and 
>> merged into gdc.
>>
>> Just how old is your compiler? :)
>
> It's from the Ubuntu Software Centre, apparently version 4.6.3.
> Not sure how old that is (latest is around 4.8 right?), but I 
> don't have the latest build. I haven't bothered to keep that up 
> to date :)
>
> If it's fixed in the current version then hooray.

IIRC, in GDC time, you're in the distant past.


More information about the D.gnu mailing list