✓
Passing This code compiles and runs correctly.
Code
// PIN (enforcement): freeing a String twice is use-after-discharge.
~import std/string
~std/string:from-page(text: "hello")
| ok s |> std/string:free(s) |> std/string:free(s)
| err _ |> _
Must contain:
Use-after-dischargeError Verification
Actual Compiler Output
error[KORU030]: Use-after-discharge: binding 's' was already discharged and cannot be used
--> phantom_semantic_check:5:0
❌ Compiler coordination error: Phantom semantic validation failed
error: CompilerCoordinationFailed
???:?:?: 0x10298b9d3 in _backend.RuntimeEmitter.emit (???)
???:?:?: 0x10298cb63 in _backend.main (???)Flows
flow ~from-page click a branch to expand · @labels scroll to their anchor
from-page (text: "hello")
Test Configuration
MUST_FAIL