004 field unknown type

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

error[KORU184]: std/tree:node(Node): field 'item' names unknown type 'Nonsense' — a node field must be a scalar material, a proto terminal of its home, a node-registered edge, ref(T), or an owned leaf `*mod:Type<state!>`
  --> tests/regression/600_STDLIB/682_TREE/682_004_field_unknown_type/input.k:6:1

Must contain:

KORU184

Flows

flow ~node click a branch to expand · @labels scroll to their anchor
node (Node, source: item: Nonsense)

Test Configuration

MUST_ERROR