hedy
hedy copied to clipboard
[BUG] Reported line number out of sync after each indented statement-block
Describe the bug When program contains a bug at line N, the line number N is reported in the error block below the program-enter-window. But the line number gets out of sync after each indented code block (nested indenting adds as well). My impression is that the size (number of lines) in the indented block do not contribute to the line number deviation.
Paste the Hedy code & level The issue is observed at the levels: 8, 10, 13, 17, 18 (not all levels tested).
Add a screenshot (optional)
Here is a program without indenting and an error on line 7. Reported correctly:
Now lines 4 to 6 are replaced with indented block note the reported line number:
This happens with two indented blocks of code:
So some larger and complicated programs get hard to debug...
Expected behavior Correct line number should be show regardless program contains indented code block or not.
What machine and browser you were using (optional) N/A. Server issue.