Error codes · Syntax

PW0013

keyword_as_name

The program must hold to this: a word that begins a statement or an expression in a body names no binding, parameter or declaration.

The decisions behind it

0041, 0195

Reading the diagnostic

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