Link manifest-selected source graphs with module-local names, qualified structs/enums/functions and task workers through ordinary AIR verification. Keep source inputs bounded, reject source symlinks and preserve explicit grants, diagnostics and deterministic canonical lowering. Integrate spec 12/15, RFC 0021, source reference budgets, roadmap, examples and CI coverage. Validate 579 conformance tests, unit tests, 76 source constructs, hosted smoke, 36 package CLI checks and task schedule stress.
8 lines
305 B
Rust
8 lines
305 B
Rust
// expect: reject E7003
|
|
// phase: 6
|
|
// spec: docs/spec/15-source-language.md §14
|
|
// module: app.owner=source/modules/owner.aji.inc
|
|
module app.entry
|
|
import app.owner;
|
|
fn main(mem: cap<mem.alloc>) -> u64 effects [mem.alloc] { let value = own.new(42u64, mem) or trap; app.owner.dispose(value); return 42; }
|