Commit a667f3b
authored
📺 frontend: Reset error highlight on start (#119)
Reset error highlight on start (run), so that the error highlight so
that we accurately display new errors or no errors if they are gone.
Previously errors only got reset if the line was updated which
incorrectly kept error line highlight for follow-on errors, e.g.:
x := "foo" // line 1: 'x' declared but not used
print y // line 2: unknown variable name 'y'
Fixed as
x := "foo" // 💣 error remained: line 1: 'x' declared but not used
print x // no error
Now all errors get reset.
Pull-Request: #1191 parent 6e49107 commit a667f3b
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments