August 06, 2016 Visual D bug in identifiers | ||||
|---|---|---|---|---|
| ||||
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.
| ||||
August 06, 2016 Re: Visual D bug in identifiers | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mark "J" Twain |
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.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply