LDC-E1312 — Transition to an undeclared state
For LLMs5 sections
What it means
Section titled “What it means”A transition moves between states of its own procedure: both ends must name states that procedure declares, and a transition missing an end declares no move at all. An endpoint the procedure never declared points nowhere, so the compiler stops at the unknown name.
The repair is a spelling check against the state list: fix the name, declare the missing state, or complete the transition with both ends. Every endpoint then lands on a state that exists.
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) { state Open initial; state Closed terminal; transition Decide { from Open; to Missing; }}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; transition Decide { from Open; to Closed; }}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.