Identifier resolution, the great implementation defined mess.

Peter Alexander via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 18 14:31:25 PDT 2014


On Wednesday, 17 September 2014 at 22:42:27 UTC, deadalnix wrote:
> On Wednesday, 17 September 2014 at 16:25:57 UTC, Dicebot wrote:
>> I had impression that general rule is "most inner scope takes 
>> priority" (with base classes being one "imaginary" scope above 
>> the current one). Are there any actual inconsistencies you 
>> have noticed or it just a matter of lacking matching spec 
>> entry?
>
> There is no inconsistencies because there is no spec.

Maybe in this case it is best to just look at what dmd does and 
add that to the spec (assuming what dmd does is sound, and makes 
sense).


More information about the Digitalmars-d mailing list