LDC-E1104 — Import without a presented dependency
For LLMs5 sections
What it means
Section titled “What it means”A source file may declare dependencies, but the bytes behind those dependencies travel separately: the resolve context presents exactly which releases the build sees. When the file imports a package the context never presented, the compiler cannot tell what the import names, so it stops at the import line rather than lowering against a closure that was never there.
The repair is to present the missing dependency in the resolve context, or to import only what the context presents. An import that names a package nobody presented is a claim about the build the build itself cannot confirm.
Example
Section titled “Example”language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
import dep.other version "0.1.0";
entity A;[{"package": {"name": "dep.shapes", "version": "0.1.0", "namespace": "urn:law:dep:shapes", "semanticHash": "sha256:0"}, "contentHash": "sha256:0"}]language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
import dep.shapes version "0.1.0";
entity A;Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.