I recently ran into the same problem and as a newbie couldn't see how the 
output was relevant to my issue. Changing the actual variable definition to 
"var" solved my issue.

With the above example the current (nim 0.14.2) error message is just "Error: 
could not resolve myTable[33]" \- and that only when assigning to myTable - 
when reading that's OK.

I really like nim as a language and can see its potential, but as a newbie it 
can get a hell complicated to get it to compile correctly (and I speak with a 
background of a long-term C and C++ programmer). 

Reply via email to