Sakura Lang

D094 context_escaped

On the WASM runtime, an operation callback was called after its handler's perform site was gone.

A runtime defect: the running program stops with it; no compile phase reports it, and try cannot catch it. sakura explain D094 prints this explanation offline.

On the WASM runtime, an operation callback was called after its handler's perform site was gone. Defence in depth: a program that passes the escape check (V6002) cannot reach it, so this is a runtime or compiler bug; please report it (runtime/rt/ABI.md §13).

Runtime defects come from running programs, so compiler/tests/ui has no fixture for them; the explanation above names the repair.

Edit on GitHub