LDC-E1103 — The same package imported twice
For LLMs5 sections
What it means
Section titled “What it means”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.
Example
Section titled “Example”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;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;Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.