155 pun required no match

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

Code

input.kz

Actual compiler output

error[KORU092]: nothing in 'render-at' accepts a i64 — its parameter 'text' is a string
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_155_pun_required_no_match/input.kz:18:0
    |
 18 | ~tick(): count |> render-at(x: 5)
    | ^
  hint: a `|>` step takes the previous stage's `-> T` by TYPE into an unfilled parameter. Give 'render-at' a i64 parameter, or write 'text' explicitly and end the thread there.

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Error output must contain

KORU092

Flows

flow ~tick click a branch to expand · @labels scroll to their anchor
tick

Test Configuration

MUST_ERROR