; expect: reject E4305 ; phase: 3 ; spec: docs/spec/04-concurrency-and-atomics.md ยง37.3 module test.shield_index air 0 lang 0.1 features [cancellation, effects, ownership, tasks] fn @main() -> void effects [] entry: %a = task.shield.begin %b = task.shield.begin %c = task.shield.begin task.shield.end %c %d = task.shield.begin task.shield.end %a task.shield.end %d task.shield.end %b ret