| ... | ... | @@ -2429,7 +2429,7 @@ fn processExportsInner( |
| 2429 | 2429 | pub fn populateTestFunctions( |
| 2430 | 2430 | pt: Zcu.PerThread, |
| 2431 | 2431 | main_progress_node: std.Progress.Node, |
| 2432 | | ) !void { |
| 2432 | ) Allocator.Error!void { |
| 2433 | 2433 | const zcu = pt.zcu; |
| 2434 | 2434 | const gpa = zcu.gpa; |
| 2435 | 2435 | const ip = &zcu.intern_pool; |
| ... | ... | @@ -2454,7 +2454,10 @@ pub fn populateTestFunctions( |
| 2454 | 2454 | zcu.sema_prog_node = std.Progress.Node.none; |
| 2455 | 2455 | } |
| 2456 | 2456 | const cau_index = ip.getNav(nav_index).analysis_owner.unwrap().?; |
| 2457 | | try pt.ensureCauAnalyzed(cau_index); |
| 2457 | pt.ensureCauAnalyzed(cau_index) catch |err| switch (err) { |
| 2458 | error.AnalysisFail => return, |
| 2459 | error.OutOfMemory => return error.OutOfMemory, |
| 2460 | }; |
| 2458 | 2461 | } |
| 2459 | 2462 | |
| 2460 | 2463 | const test_fns_val = zcu.navValue(nav_index); |