Diagnostics example for the bare-declare guard (14f30f3): an unfinished
declare("Undef") -> build-gating error naming the type, exit 1.
6 lines
259 B
Plaintext
6 lines
259 B
Plaintext
error: type 'Undef' is declared but never defined — complete it with define(handle, info)
|
|
--> examples/1181-diagnostics-metatype-declare-never-defined.sx:9:10
|
|
|
|
|
9 | Undef :: declare("Undef"); // never define()d
|
|
| ^^^^^^^^^^^^^^^^
|