redefine-error
Factor handbook » The implementation » Definitions » Definition sanity checking


Vocabulary
compiler.units

Inputs
None

Outputs
None

Word description
Throws a redefine-error.

Error description
Indicates that a single source file contains two definitions for the same artifact, one of which shadows the other. This is an error since it indicates a likely mistake, such as two words accidentally named the same by the developer; the error is restartable.

Definition


Methods