| ... | ... | @@ -8458,7 +8458,14 @@ fn numberLiteral(gz: *GenZir, ri: ResultInfo, node: Ast.Node.Index, source_node: |
| 8458 | 8458 | try astgen.errNoteTok(num_token, "use '-0.0' for a floating-point signed zero", .{}), |
| 8459 | 8459 | }, |
| 8460 | 8460 | ), |
| 8461 | | 1 => .one, |
| 8461 | 1 => { |
| 8462 | // Handle the negation here! |
| 8463 | const result: Zir.Inst.Ref = switch (sign) { |
| 8464 | .positive => .one, |
| 8465 | .negative => .negative_one, |
| 8466 | }; |
| 8467 | return rvalue(gz, ri, result, source_node); |
| 8468 | }, |
| 8462 | 8469 | else => try gz.addInt(num), |
| 8463 | 8470 | }, |
| 8464 | 8471 | .big_int => |base| big: { |