070 nested tilde invocations

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Expected compiler error

error[PARSE001]: Nested flows (~) are not allowed inside continuations. Use a bare event call instead: remove the ~ prefix.
  --> tests/regression/100_PARSER/100_070_nested_tilde_invocations/input.kz:18:0
    |
 18 | | done d |> ~inner(x: d.value) |> nop()
    | ^

Error Verification

Actual Compiler Output

error[PARSE001]: Nested flows (~) are not allowed inside continuations. Use a bare event call instead: remove the ~ prefix.
  --> tests/regression/100_PARSER/100_070_nested_tilde_invocations/input.kz:18:0
    |
 18 | | done d |> ~inner(x: d.value) |> nop()
    | ^

Test Configuration

MUST_FAIL