LDC-E1201 — Name already declared in this package
For LLMs5 sections
What it means
Section titled “What it means”A package keeps a single flat namespace for the names it declares: the second declaration of an already-taken name does not shadow or merge, it collides. When a declaration reuses a name an earlier declaration owns, the compiler stops at the newcomer and points back at the first owner.
The repair is a rename of one of the two sides, or a merge into a single declaration if both meant the same thing. In a multi-file package the first owner may live in another file — the message says so.
Example
Section titled “Example”language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Applicant;entity Applicant;language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Applicant;Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.