018 template define

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual

Templates defined successfully

Expected output

Templates defined successfully

Flows

flow ~define click a branch to expand · @labels scroll to their anchor
define (name: "test_simple", source: hello ${name})
flow ~define click a branch to expand · @labels scroll to their anchor
define (name: "test_if", source: if (${cond}) { ${| then |} } else { ${| else |} })

Test Configuration

MUST_RUN