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/15-source-language.md
module demo.not_share
// AIR twin: phase3/reject/tasks_not_share.air
fn look(r: ref<region>) -> u64
effects []
@@ -18,7 +19,7 @@ effects [mem.alloc, task.spawn]
{
ref arena = r;
scope sc {
let t = task.spawn(sc, look, arena);
let t = task.spawn(sc, look, arena); // diagnostic here: task.spawn
v = task.join(move t);
}
}