| author | |
| committer | |
| log | a2e1639d6d10143c91b6c25968cc58f865dbe267 |
| tree | 695e16ee2eb4817b150eac9eeb4d431873f59412 |
| parent | ea7b2750c823e7160db790582a1dcb96a9feebc7 |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
src/Module.zig+1-1| ... | @@ -2661,7 +2661,7 @@ pub fn resolvePeerTypes(self: *Module, scope: *Scope, instructions: []*Inst) !Ty | ... | @@ -2661,7 +2661,7 @@ pub fn resolvePeerTypes(self: *Module, scope: *Scope, instructions: []*Inst) !Ty |
| 2661 | continue; | 2661 | continue; |
| 2662 | } | 2662 | } |
| 2663 | 2663 | ||
| 2664 | if (prev_inst.ty.zigTypeTag() == .ComptimeInt and next_inst.ty.isInt()) { | 2664 | if ((prev_inst.ty.zigTypeTag() == .ComptimeInt and next_inst.ty.isInt()) or (next_inst.ty.zigTypeTag() == .ComptimeInt and prev_inst.ty.isInt())) { |
| 2665 | prev_inst = next_inst; | 2665 | prev_inst = next_inst; |
| 2666 | continue; | 2666 | continue; |
| 2667 | } | 2667 | } |