006 fmt result pun into string diagnostic

✓ Passing This code compiles and runs correctly.

Code

input.k

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Flows

subflow ~sink click a branch to expand · @labels scroll to their anchor
print.ln (expr: text)
flow ~ln click a branch to expand · @labels scroll to their anchor
ln ("value: 7")

Test Configuration

Expected Error:

KORU038