LDC-E1311 — Procedure without exactly one initial state
For LLMs5 sections
What it means
Section titled “What it means”Every procedure starts somewhere exactly once: one of its states must be marked initial, and marking two splits the start the transitions cannot follow. A procedure with no initial state — or with more than one — has no single entry point, so the compiler stops at the procedure name and counts what it found.
The repair is to mark exactly one state initial. The transitions then read from a start that exists and is unique.
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; 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.