226 for each reverse each refused

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

Code

input.kz

Actual compiler output

error[KORU120]: for: `! each` and `! reverse-each` cannot both attach to one call — pick an axis (a single call is a single traversal)
  --> tests/regression/400_RUNTIME_FEATURES/400_226_for_each_reverse_each_refused/input.kz:8:1

Error output must contain

`! each` and `! reverse-each` cannot both attach to one call — pick an axis

Flows

flow ~for click a branch to expand · @labels scroll to their anchor
for (1..5)

Test Configuration

MUST_ERROR