| author | |
| committer | |
| log | 499550902824ad8862cd43f972fdb052df531e2c |
| tree | 843a2d9f6f86c2d80a40f1cffa57cd97a2a4c342 |
| parent | f13292abbc1dfddb0be73e1e9747656f8432c16e |
1 files changed, 1 insertions(+), 1 deletions(-)
src/Sema/arith.zig+1-1| ... | ... | @@ -67,7 +67,7 @@ pub fn addMaybeWrap( |
| 67 | 67 | ) CompileError!Value { |
| 68 | 68 | const zcu = sema.pt.zcu; |
| 69 | 69 | if (lhs.isUndef(zcu)) return lhs; |
| 70 | if (lhs.isUndef(zcu)) return rhs; | |
| 70 | if (rhs.isUndef(zcu)) return rhs; | |
| 71 | 71 | switch (ty.zigTypeTag(zcu)) { |
| 72 | 72 | .int, .comptime_int => return (try intAddWithOverflow(sema, lhs, rhs, ty)).wrapped_result, |
| 73 | 73 | .float, .comptime_float => return floatAdd(sema, lhs, rhs, ty), |