The following code bypasses immutabililty with GDC but not DMD
Nicholas Smith
nmsmith65 at gmail.com
Fri Apr 12 00:53:12 PDT 2013
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.
More information about the D.gnu
mailing list