Open tomlarkworthy opened 2 years ago
OH and just noticed in the repro that the error containing cell doesn't clear it's error either.
In essence, the editor error won't clear until the cell resolves. Shorter repro:
Promises.delay(1000
and submit, which will report a syntax error)
and submit, fixing the error. The error will only clear after a 1 second delay.
Describe the bug context: If a cell throws an error it shows it as red. Downstream cells also highlight the source of the error, in red, and display "jump to error".
If I fix the error cell, the downstream one does not clear unless it evaluate to a concrete value, so if it returns "invalidation", then the error is not cleared.
To Reproduce Go to https://observablehq.com/@tomlarkworthy/bug-unresolved-error-cells use toggle, note the last cell does not have its error markings removed