LDC-E1340 — Expansion alias without a pin
For LLMs5 sections
What it means
Section titled “What it means”Reusable reasoning blocks — expansions — are pinned like dependencies: the manifest declares an alias, and a separate pin context presents the actual definition the alias resolves to. An instance that names a manifest alias nobody presented has no definition to expand into, so the compiler stops at the instance rather than expanding thin air.
The repair is to present the pin context the alias needs, or to drop the instance and its manifest row together. A declared alias with no presented definition is a promise the build cannot keep.
Example
Section titled “Example”{"argv": ["check", "$ROOT"], "files": {"law.toml": "[package]\nname = \"demo.diagnostics\"\nversion = \"0.1.0\"\nlanguage = \"0.2\"\nnamespace = \"urn:law:demo:diagnostics\"\n\n[expansions]\noffence = { name = \"offence\", version = \"0.1.0\", path = \"defs\" }\n", "a.law": "language \"law.core\" version \"0.2\";\npackage demo.diagnostics version \"0.1.0\";\nnamespace \"urn:law:demo:diagnostics\";\n\nentity Organization;\n\nexpand offence Article1 {\n}\n"}, "expect": "LDC-E1340"}{"argv": ["check", "$ROOT"], "files": {"law.toml": "[package]\nname = \"demo.diagnostics\"\nversion = \"0.1.0\"\nlanguage = \"0.2\"\nnamespace = \"urn:law:demo:diagnostics\"\n", "a.law": "language \"law.core\" version \"0.2\";\npackage demo.diagnostics version \"0.1.0\";\nnamespace \"urn:law:demo:diagnostics\";\n\nentity Organization;\n"}, "expect": null}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.