D Compiler as a Library

Roman D. Boiko rb at d-coding.com
Sat Apr 21 09:08:27 PDT 2012


> It's possible to have an instance variable and a local variable 
> with the same name.

According to Marco's idea, those would be qualified differently: 
className.x vs className.funcName.x, but he recently provided an 
example where that is ambiguous.

Also it would be a problem for symbols declared inside anonimous 
members.

In general, I like symbol location ("file.d:50:7"). It should 
always be available to the tool which uses API.



More information about the Digitalmars-d mailing list