diff options
Diffstat (limited to 'src/Value.zig')
| -rw-r--r-- | src/Value.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Value.zig b/src/Value.zig index 575a84f103..d6e533429a 100644 --- a/src/Value.zig +++ b/src/Value.zig @@ -191,7 +191,7 @@ pub fn toBigIntAdvanced( comptime strat: ResolveStrat, zcu: *Zcu, tid: strat.Tid(), -) Zcu.CompileError!BigIntConst { +) Zcu.SemaError!BigIntConst { const ip = &zcu.intern_pool; return switch (val.toIntern()) { .bool_false => BigIntMutable.init(&space.limbs, 0).toConst(), @@ -1038,7 +1038,7 @@ pub fn orderAgainstZeroInner( comptime strat: ResolveStrat, zcu: *Zcu, tid: strat.Tid(), -) Zcu.CompileError!std.math.Order { +) Zcu.SemaError!std.math.Order { return switch (lhs.toIntern()) { .bool_false => .eq, .bool_true => .gt, |
