047 if subflow enclosing branches

✓ Passing This code compiles and runs correctly.

Code

input.kz

Output must match:

BACKEND_EXEC_ERROR

Flows

subflow ~decide click a branch to expand · @labels scroll to their anchor
~if (ctx.flag and ctx.n > 0)
subflow ~run click a branch to expand · @labels scroll to their anchor
decide (ctx)
flow ~run click a branch to expand · @labels scroll to their anchor
run (ctx: c)

Test Configuration

Expected Error:

error[KORU040]: unknown tor 'input:~if'