198 pointfree choke claims no stage

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

Code

input.kz

Actual compiler output

error[KORU021]: no stage in this chain declares branch 'out-of-rang'
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_198_pointfree_choke_claims_no_stage/input.kz:38:0
    |
 38 | | out-of-rang => gone
    | ^
  hint: a point-free choke claims by name over the whole chain — check the spelling against the stages it should catch

Frontend must reject with:

CONTAINS no stage in this chain declares branch 'out-of-rang'
NOT_CONTAINS declares branch 'not-found'

Flows

subflow ~ladder click a branch to expand · @labels scroll to their anchor
obj.get (doc, v: r, key: "choices")
flow ~ladder click a branch to expand · @labels scroll to their anchor
ladder (doc: 1, r: 2)

Test Configuration

MUST_ERROR