LDC-E1111 — Manifest dependency without an import
For LLMs5 sections
What it means
Section titled “What it means”The manifest lists the package’s dependencies, and the act requests them with imports. The two lists must agree: a manifest row with no matching import is a dead entry that still takes part in version resolution, pinning a release nothing in the text uses. The compiler stops at the header rather than resolving a dependency the act never asked for.
The repair is to delete the dead manifest row, or to add the import the row was meant to support. A dependency that nothing requests is either a leftover or a missing import — the fix declares which.
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[dependencies]\n\"dep.shapes\" = \"0.1.0\"\n", "a.law": "language \"law.core\" version \"0.2\";\npackage demo.diagnostics version \"0.1.0\";\nnamespace \"urn:law:demo:diagnostics\";\n\nentity A;\n"}, "expect": "LDC-E1111"}{"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 A;\n"}, "expect": null}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.