cli: validate exclusive source places before AIR
This commit is contained in:
1 parent
dcd5f1f702
commit
41f3afbf05
54 files changed
+541
-2
No files matched your search
@@ -400,6 +400,7 @@ A byte string or array used where a `slice<u8>` is expected is materialized in f
|
||||
- arity and argument types of functions and built-in operations;
|
||||
- the existence of fields and variants;
|
||||
- `ref`/`mut` compatibility;
|
||||
- A place store MUST require `mut<T>`; a `mut` binding or argument MUST require an exclusive place before whole-array-to-slice conversion. A shared place rejects E7005 at the place (binding/store) or argument with `expected`/`found` borrow types. The RHS is still evaluated first; whole-array stores retain E7006. Content linearity and alias/lifetime checks remain verifier rules.
|
||||
- lossless widening by `as` (the verifier's own rule);
|
||||
- slice element types of `slice.copy`;
|
||||
- the element rules of channels and mutexes (no borrow, scope, task, shield or guard).
|
||||
|
||||
Reference in new issue
Block a user