You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Once an error is detected, it does not disappear once the error is resolved
To Reproduce
Example code
moduletest1;
importstd::io;
fnint! example_fn()
{
// comment out this part to see the error will still remaindefer (tryerr) { // error in this partio::printf("enterring defer try\n");
// io::printf("value: %s\n", value);io::printf("exiting defer try\n");
}
// return io::IoError.FILE_NOT_FOUND?;return2;
}
fnvoid! main()
{
int !res=example_fn()!;
if(tryres) {
io::printf("res :%d\n", res);
}
return;
}
then comment out the defer (try err) but the error highlighting will remain even after commenting out
Expected behavior
Expected the error highlighting to be removed once the, part having the error was commented out
Screenshots
Desktop (please complete the following information):
OS:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
Describe the bug
Once an error is detected, it does not disappear once the error is resolved
To Reproduce
Example code
then comment out the
defer (try err)
but the error highlighting will remain even after commenting outExpected behavior
Expected the error highlighting to be removed once the, part having the error was commented out
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: