054 store reject bare obligation insert

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

Code

input.k

Actual compiler output

error[KORU030]: Phantom state mismatch: expected 'std.string:instance' but got 'std.string:view!' for argument 'name'
  --> tests/regression/600_STDLIB/690_STORE/690_054_store_reject_bare_obligation_insert/input.k:14:0

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

Compiler must reject:

Compilation must fail with a diagnostic.

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (names, capacity: 8, source: name: *std/string:String<std/string:instance!>)
flow ~from-page click a branch to expand · @labels scroll to their anchor
from-page (text: "nope")

Test Configuration

MUST_ERROR