Skip to content
docs
Arxo ↗

LDC-E1103 — The same package imported twice

For LLMs5 sections

Each dependency is declared exactly once per package: one import line brings the whole package into view, and a second line naming the same package adds nothing. When the same package name appears on two import lines, the compiler stops at the repetition.

The repair is deletion: keep one of the two lines and remove the other. Which one to keep never matters, since both name the same dependency.

Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
import demo.other version "0.1.0";
import demo.other version "0.1.0";
entity Applicant;
Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
import demo.other version "0.1.0";
entity Applicant;

The engine reports this in its own wording:

Output
example.law:5:1: error LDC-E1103: repeated import of package "demo.other" (§23: an import is declared once per package)

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.