Error codes · Declarations and their clauses

PW0332

effect_names_an_operation

The program must hold to this: an effect is not a callable, so it does not name a host operation.

Reading the diagnostic

pw check prints the code in brackets, [PW0332], 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.