hedy icon indicating copy to clipboard operation
hedy copied to clipboard

[BUG] error message unclear in level 5 when forgetting the last quote

Open OnnoEbbens opened this issue 2 years ago • 2 comments

When you forget the last quote in a print or ask statement the error is unclear (although most of the times not completely off). When you run the same code in level 4 the error is very clear.

print 'Hoi ik ben Hedy de Waarzegger
print 'Ik kan voorspellen wie morgen de loterij wint!'
naam is ask 'Wie ben jij?'

Error in level 5: image

Error in level 4: image

In this example the error in level 5 is still quite clear. The error type is correct only pointing to the wrong line of code. In some cases, that I cannot reproduce right now, the error was completely wrong when the last quote was missing.

OnnoEbbens avatar Sep 26 '22 16:09 OnnoEbbens

I forgot to say that the error messages in level 1 to 4 has improved so much that my students have no questions anymore. Teaching has become so easy. Thanks a lot!

OnnoEbbens avatar Sep 26 '22 16:09 OnnoEbbens

I forgot to say that the error messages in level 1 to 4 has improved so much that my students have no questions anymore. Teaching has become so easy. Thanks a lot!

Let's aim to get to that level too for higher levels, I will see what I can do about this specific one (and I'll examine the logs for even worse ones you might have seen today)

Felienne avatar Sep 26 '22 18:09 Felienne