Error codes · Names and imports
PW0027
not_a_term
The program must hold to this: a call names a function, a data operation, or a type it builds.
The decisions behind it
Reading the diagnostic
pw check prints the code in brackets, [PW0027], with the sentence above and the place in your program. Errors and diagnostics explains how to read one, and every code is listed with its rule.