| ... | ... | @@ -909,7 +909,7 @@ fn analyzeNavVal(pt: Zcu.PerThread, nav_id: InternPool.Nav.Index) Zcu.CompileErr |
| 909 | 909 | // Of course, we need to make sure we depend on it properly. |
| 910 | 910 | try sema.declareDependency(.{ .nav_ty = nav_id }); |
| 911 | 911 | try pt.ensureNavTypeUpToDate(nav_id); |
| 912 | | break :ty .fromInterned(ip.getNav(nav_id).status.type_resolved.type); |
| 912 | break :ty .fromInterned(ip.getNav(nav_id).typeOf(ip)); |
| 913 | 913 | } else null; |
| 914 | 914 | |
| 915 | 915 | const final_val: ?Value = if (zir_decl.value_body) |value_body| val: { |