LDC-E1352 — Label with no bearer
For LLMs5 sections
What it means
Section titled “What it means”A label lives on a lowered node: entities, rules, and most declarations carry their labels into the output. Some positions never become nodes — a procedure instance parameter, a query parameter, a case constant — and a label written there would be accepted and lost. The compiler stops at the label instead.
The repair is to move the label onto a declaration that lowers, or to drop it. Labels that ride a node survive exactly as written.
Example
Section titled “Example”language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Tenant;procedure Review(t: Tenant { label en official "Subject"; }) { state Open initial; state Closed terminal;}language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Tenant;procedure Review(t: Tenant) { state Open initial; state Closed terminal;}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.