Visual D bug in identifiers

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sat Aug 6 02:11:48 PDT 2016



On 06.08.2016 05:12, Mark J Twain wrote:
> I have code similar to the following
>
> if (x)
> {
>     auto ptr = ;
> } else
> {
>     auto ptr = ;
> }
>
> Visual D shows both ptr's but they both have the same value. Renaming
> one ends up showing different values.

I guess you mean the local variables in the debugger.

So far, dmd didn't emit lexical scope information for variables. This 
has been added recently, please try dmd's nightly build.


More information about the Digitalmars-d-ide mailing list