E1106: duplicate declaration in a module
All .act files that sit directly in one module directory share one scope.
All .act files that sit directly in one module directory share one scope.
A name may be declared only once in it, so a verb, struct, enum, role or
constant that appears in two files of the module is an error (ADR-0018). The
error points at the second declaration, and the message names both files.
Across modules, ADR-0110 keeps declaration names unique within one program.
Example
actus
actus
actus
actus
Fix
Give each declaration its own name. If the two declarations are the same thing, keep one of them.
actus
actus
actus
actus
Run actus explain E1106 in your terminal to read this entry offline. Browse Modules & rules or all error codes.