019 with on non invocation step refused

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

Code

input.k

Supporting Files

probe.k

Actual compiler output

error[PARSE003]: annotation '[with]' has nothing to attach to — a step annotation only applies to an invocation
  --> tests/regression/600_STDLIB/641_PARSER/641_019_with_on_non_invocation_step_refused/input.k:10:1
    |
 10 | | err _ |> _
    | ^

Frontend must reject with:

CONTAINS annotation

Test Configuration

MUST_ERROR

koru.json: