spec: accept RFC 0006 and integrate effects and capabilities

- spec 05 §9-§12: flat effects, checking rule, capability model,
  instantiation by parameter name, lifetime, fallible narrowing,
  intrinsic calls, runtime
- spec 07 §8.9, 07a (cap.narrow, intrinsic, run result), 08 stage
  order, 11 not_instantiated outcome
- new reference/effects.md and reference/capabilities.md (kinds,
  scopes, built-in cap_error)
- features effects and capabilities published
- Q-011, Q-012 resolved
This commit is contained in:
dev committed 2026-10-04 13:36:46 +03:00
1 parent 3fd1513c86
commit fb4338cea6
10 files changed
+245 -13

No files matched your search

+1 -1
View File
@@ -243,4 +243,4 @@ A `local<T>` is uninitialized after `local.alloc` and becomes initialized by `lo
## 14. Stage order
Verification stages run in this order, stopping after the first stage that reports an error (spec 07 §8.6): resource limits (including frame size), CFG structure (including `local.alloc` placement), SSA, types, initialization, borrows, bounds.
Verification stages run in this order, stopping after the first stage that reports an error (spec 07 §8.6): resource limits (including value and frame size), CFG structure (including `local.alloc` placement), SSA, types (including capability kinds and narrowing forms), effects, initialization, borrows, bounds.