Performs some basic, common checking on the compilation error object, to verify that it matches what you expect
Performs some basic, common checking on the compilation error object, to verify that it matches what you expect
The expected position-message returned by the compile error. Usually something like """ true * false ^ """ This mimicks the position-message shown in the terminal, and should be a convenient way of indicating where you expect the error to occur. Pass in an empty-string to skip this check.
A list of snippets that should appear in the error message. Typically something like "value * is not a member of Boolean" to ensure that the message is what you want
A CompileError representing a failure to parse.