While implementing #217 I found that dada run executes even if there are errors, which causes this program to enter an infinite loop:
async fn main() {
i = 0
while i < 1 {
print(i).await
$ # invalid syntax
i += 1
}
}
I think we should avoid running if we encounter any diagnostic with Severity::Error.
That can also happen for dada test and maybe on web playground?
While implementing #217 I found that
dada runexecutes even if there are errors, which causes this program to enter an infinite loop:I think we should avoid running if we encounter any diagnostic with
Severity::Error.That can also happen for
dada testand maybe on web playground?