tests: audit task argument identities and source error boundaries

This commit is contained in:
dev committed 2026-10-08 20:57:51 +03:00
1 parent fd92604f36
commit 2742867ef7
18 files changed
+344 -20

No files matched your search

@@ -3,6 +3,7 @@
// phase: 6
// spec: docs/spec/03-memory-model.md
module demo.lend_island
// AIR twin: phase4/reject/island_lend_task.air
fn read(g: ref<island<u64>>) -> u64
effects []
@@ -20,7 +21,7 @@ effects [mem.alloc, task.spawn]
{
ref g = isl;
scope sc {
let t = task.spawn(sc, read, g);
let t = task.spawn(sc, read, g); // diagnostic here: task.spawn
v = task.join(move t);
}
}