Issue with dmd 2.066, alias this, and sort
monarch_dodra via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Aug 28 03:54:46 PDT 2014
On Thursday, 28 August 2014 at 10:38:12 UTC, monarch_dodra wrote:
> On Wednesday, 27 August 2014 at 21:43:40 UTC, bearophile wrote:
>> rcor:
>>
>>
>> It compiles if you use:
>> @property auto feature() const pure nothrow { return _feature;
>> }
>>
>> Otherwise I get strange errors like:
>>
>> ...\dmd2\src\phobos\std\exception.d(986,31): Error: pure
>> function 'std.exception.doesPointTo!(Point, Point,
>> void).doesPointTo' cannot call impure function
>> 'temp.Point.feature'
>>
>> Bye,
>> bearophile
>
> Seems like a library bug. Unsure if DMD or phobos for this one,
> but there is definitely a phobos bug to be fixed anyways. I'll
> investigate both.
DMD issue:
https://issues.dlang.org/show_bug.cgi?id=13392
Phobos issue:
http://forum.dlang.org/thread/uignsankcumgmhwpoead@forum.dlang.org#post-uignsankcumgmhwpoead:40forum.dlang.org
More information about the Digitalmars-d-learn
mailing list