Skip to content
docs
Arxo ↗

LDC-E2101 — A type name that resolves nowhere

For LLMs5 sections

Every type named in a declaration must come from somewhere: a standard type the language ships, or an entity, record, variant, enum, or alias declared in the same file. A name with neither backing is not a guess the compiler will fill in later — it stops at the declaration and asks which known type was meant.

Declaring the missing type, correcting a misspelling, or qualifying a standard name fixes it. The parameter keeps its position; only the name changes.

Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
relation known(a: Missing) kind institutional;
Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
entity Guest;
relation known(a: Guest, b: Guest) kind institutional;

The engine reports this in its own wording:

Output
example.law:5:19: error LDC-E2101: type "Missing" does not resolve: neither std §257 nor declared in the file (E-0005)

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.