013 unknown qualified terminal refused

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

Code

input.k

Actual compiler output

error[KORU173]: std/proto(Player): field 'health' names unknown terminal 'app/ghost:Health' — a field must use a scalar material, a terminal or compound of its own home, or a qualified name from another home
  --> tests/regression/600_STDLIB/665_PROTO/665_013_unknown_qualified_terminal_refused/input.k:6:0

Compiler must reject:

Compilation must fail with a diagnostic.

Flows

flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Player, source: health: app/ghost:Health)

Test Configuration

MUST_ERROR