LDC-E1333 — Inline deadline-policy block
For LLMs5 sections
What it means
Section titled “What it means”Deadline policies used to be written inline inside the case context; that shape is retired. Policies are now declared once at the package level under a name, and every case that needs one passes the name. An inline block in the context position matches the old grammar the current language no longer accepts, so the compiler stops and points at the declaration form that replaced it.
The repair is to lift the block into a package-level deadline-policy declaration and reference it by name from the case. One declaration serves every case; no case carries its own copy.
Example
Section titled “Example”{"argv": ["lower-case", "$ROOT/case.law"], "files": {"case.law": "language \"law.core\" version \"0.2\";\npackage demo.diagnostics version \"0.1.0\";\nnamespace \"urn:law:demo:diagnostics\";\n\nentity A;\n\ncase Solo {\n context {\n legal_time @2026-08-26;\n deadline_policy {\n start next_day;\n }\n }\n}\n"}, "expect": "LDC-E1333"}{"argv": ["lower-case", "$ROOT/case.law"], "files": {"case.law": "language \"law.core\" version \"0.2\";\npackage demo.diagnostics version \"0.1.0\";\nnamespace \"urn:law:demo:diagnostics\";\n\nentity A;\n\ncase Solo {\n context {\n legal_time @2026-08-26;\n }\n}\n"}, "expect": null}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.