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
Simplified versions of the errors thrown during compilation, for use with the utest.asserts.Asserts.compileError macro. Contains only a single message and no position since things compiled using macros don't really have source positions.