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
We currently have the setup to test that some error occurred during compilation, but we don't test that it's the correct error (other than syntax vs type error) or that it occurs on the correct line.
It'd be nice to be able to annotate source files for testing with expected errors in comments, something like:
x = addInt 1True-- $expect: Type error: Type mismatch
and then have the setup to verify that that error really occurs there.
The text was updated successfully, but these errors were encountered:
We currently have the setup to test that some error occurred during compilation, but we don't test that it's the correct error (other than syntax vs type error) or that it occurs on the correct line.
It'd be nice to be able to annotate source files for testing with expected errors in comments, something like:
and then have the setup to verify that that error really occurs there.
The text was updated successfully, but these errors were encountered: