LDC-E1109 — Manifest diverging from the header
For LLMs5 sections
What it means
Section titled “What it means”The manifest at the package root names the package: its name, version, language line, and namespace. The source header names them too, and the two must agree — the manifest is the root marker the tooling navigates by, so a file that calls itself one thing under a manifest that calls it another cannot be placed. The compiler stops at the header line that disagrees.
The repair is to spell the header and the manifest the same way. Which side is wrong depends on the rename: fix the drifting side, and keep the side the rest of the package already follows.
Example
Section titled “Example”{"argv": ["check", "$ROOT"], "files": {"law.toml": "[package]\nname = \"demo.other\"\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": "LDC-E1109"}{"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.