002 list const module

✗ Failing This test is currently failing.

Failed: backend-exec

Failure Output

error[KORU030]: Phantom state mismatch: argument 'xs' has no tracked phantom state, but this event requires state '<list>'.
  --> tests/regression/600_STDLIB/660_COLLECTIONS/660_002_list_const_module/input.k:15:0

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

Code

input.k

Expected output

1

Flows

flow ~const click a branch to expand · @labels scroll to their anchor
const (source: xs: std/list[i64])
flow ~push click a branch to expand · @labels scroll to their anchor
push (xs, v: 3)

Test Configuration

MUST_RUN