LDC-E1402 — Requirement on an unknown feature
For LLMs5 sections
What it means
Section titled “What it means”A declaration can require a language feature: without that feature, the declaration must not be read as written. The annotation names the feature, and the name must come from the feature registry — an unknown name cannot be allowed through as informational, because a misspelled requirement would silently stop constraining. The compiler stops at the annotation and lists the features it knows.
The repair is to name a registered feature, or to drop the requirement. A requirement on a feature nobody registered constrains nothing.
Example
Section titled “Example”language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
@requires_feature("nope.nothing")entity A;language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity A;Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.