LDC-E1351 — Automaton member name taken twice
For LLMs5 sections
What it means
Section titled “What it means”States, transitions, and regions share one package-wide name table: a case names a member by its bare name, so two members under one name would resolve to neither. When two procedures declare the same member name, the compiler stops at the second declaration and lists both owners.
The repair is to differentiate: prefix the names per procedure, or rename one side. Unique names resolve 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 A(t: Tenant) { state Open initial; state Closed terminal;}procedure B(t: Tenant) { state Open initial; state Shut terminal;}language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Tenant;procedure A(t: Tenant) { state Open initial; state Closed terminal;}procedure B(t: Tenant) { state Dawn initial; state Shut terminal;}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.