271 destructure annotation no consumer

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

Code

input.kz

Actual compiler output

error[KORU175]: destructure annotation '[row]' on 'name' has no consumer here — annotations are requests a transform implements; nothing on this path reads them
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_271_destructure_annotation_no_consumer/input.kz:19:0
  hint: drop the annotation, or put the destructure on a consumer that implements it (std/store's query arm owns [row]/[ordinal]/[id])

❌ Compiler coordination error: Flow validation failed
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Compiler must reject:

Compilation must fail with a diagnostic.

Flows

flow ~fetch click a branch to expand · @labels scroll to their anchor
fetch (id: 1)

Test Configuration

MUST_ERROR