Error codes · Declarations and their clauses
PW0349
source_malformed
The program must hold to this: a source holds what the program's effects name, and each is held by one.
Reading the diagnostic
pw check prints the code in brackets, [PW0349], 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.