tests: extend audited rejection twins through tasks and locks

This commit is contained in:
dev committed 2026-10-08 18:12:53 +03:00
1 parent e4aacef48c
commit 272aebfd32
16 files changed
+157 -13

No files matched your search

@@ -3,6 +3,7 @@
// phase: 6
// spec: docs/spec/15-source-language.md
module demo.scope_unjoined
// AIR twin: phase3/reject/tasks_scope_end_unjoined.air
fn work() -> u64
effects []
@@ -13,7 +14,7 @@ effects []
fn main() -> u64
effects [task.spawn]
{
scope sc {
scope sc { // diagnostic here: {
let t = task.spawn(sc, work);
}
0