Error codes · Names and imports

PW0024

duplicate_declaration

The program must hold to this: a module may declare each name once per namespace.

Reading the diagnostic

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