fix comptime yield targeting

This commit is contained in:
2026-07-22 12:01:22 +02:00
parent ec5880e757
commit 21ff291788
4 changed files with 597 additions and 84 deletions
+2 -4
View File
@@ -170,10 +170,8 @@ ct_errdefer_check func() i32 {
}
recover func() i32 {
return may_fail(true) catch |e| {
match e {
.bad: yield 5
}
return may_fail(true) catch |e| match e {
.bad: 5
}
}