089 captured field swallows tor line

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[KORU104]: nested call in captured field 'n' — calls are not expressions; use tor chaining: bind the result first
  --> tests/regression/100_PARSER/100_089_captured_field_swallows_tor_line/input.k:17:4
    |
 17 |     ! line _ |> captured {
    |    ^
  hint: rewrite as `tor(args): x |> ...` and use `x` here

Code

input.k

Actual compiler output

error[KORU104]: nested call in captured field 'n' — calls are not expressions; use tor chaining: bind the result first
  --> tests/regression/100_PARSER/100_089_captured_field_swallows_tor_line/input.k:17:4
    |
 17 |     ! line _ |> captured {
    |    ^
  hint: rewrite as `tor(args): x |> ...` and use `x` here

Must contain:

error[KORU164]

Flows

flow ~capture click a branch to expand · @labels scroll to their anchor
capture (source: n: 0[i64])

Test Configuration

MUST_ERROR