symbol not found

Rainer Schuetze r.sagitario at gmx.de
Mon May 20 06:49:45 UTC 2019



On 20/05/2019 04:24, Alex wrote:
>     for (auto i = 0; i < L; i++)
>     {
>         for(auto c = 0; c < N; c++)
>         {
> 
>             for (int j = -s; j < s; j++)
>             {           
>                 auto idx1 = i*j+c
>                
>                 if (idx1 < 0 || idx1 >= data.length) v = 0;
>                 else
>                 {
>                                        d[i]
>                                 }
> ...
> 
>     for (auto i = 0; i < L; i++) /// Changing i to ii lets i above show up
>     {
> 
> putting a bp on d, i does not show up in the locals or auto list.
> 
> adding i in the watch says symbol not found?!?
> 
> j and c show up.
> 
> there is a for loop that uses i later. Changing it to ii lets i show up?!?!
> 
> Seems somehow they are being canceled out.
> 
> Not if it's just two loops or what, but it seems the id's collide somehow.

Please provide a compilable example.

BTW: bugs are better reported at https://issues.dlang.org/enter_bug.cgi
so that it's easier to keep track of progress.


More information about the Digitalmars-d-ide mailing list