digitalmars.D.ide - symbol not found
- Alex (25/25) May 19 2019 for (auto i = 0; i < L; i++)
- Rainer Schuetze (4/34) May 19 2019 Please provide a compilable example.
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.
May 19 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.
May 19 2019