I often see error messages that refer to a code line beyond the number of line of my test code.
For example, I have some test code with 16 lines. And then it show this error when I try to run the code:
Line 22: Char 28: error: 'class Solution' has no member named 'reverse'; did you mean 'reverseDigits'?
This error message is telling me there is a problem on line 22, but my code only has 16 lines. Making this error message useless becasue it is reffering to something outside of my control.
How am I supposed to proceed when I see something like this? It leaves me with no indication of the real problem inside my code.