diff options
Diffstat (limited to 'src/stage1/ir.cpp')
| -rw-r--r-- | src/stage1/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage1/ir.cpp b/src/stage1/ir.cpp index 347014f257..f4cb8a9aed 100644 --- a/src/stage1/ir.cpp +++ b/src/stage1/ir.cpp @@ -17841,7 +17841,7 @@ static bool is_pointer_arithmetic_allowed(ZigType *lhs_type, IrBinOp op) { return false; switch (lhs_type->data.pointer.ptr_len) { case PtrLenSingle: - return lhs_type->data.pointer.child_type->id == ZigTypeIdArray; + return false; case PtrLenUnknown: case PtrLenC: return true; |
