158 transform continuation position panic

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

Code

input.kz

Actual compiler output

error[KORU124]: transform 'renderHTML' invoked in continuation position is not supported here
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_158_transform_continuation_position_panic/input.kz:248:0
  this transform uses the whole-program escape, which matches flow-root invocations only; a continuation-position invocation is never rewritten (frontier: 210_024_source_scope_capture).
  fix: invoke 'renderHTML' at top level, or have it return a site-local SiteResult instead of a whole_program.

Compiler must reject:

Compilation must fail with a diagnostic.

Flows

flow ~seed click a branch to expand · @labels scroll to their anchor
seed

Test Configuration

MUST_ERROR