Merge pull request #5653 from smoke-y/emptyParen

Fix compiler segfault when trying to use () as type
This commit is contained in:
gingerBill
2025-09-06 12:23:48 +01:00
committed by GitHub

View File

@@ -1797,6 +1797,9 @@ gb_internal void add_type_and_value(CheckerContext *ctx, Ast *expr, AddressingMo
}
expr = unparen_expr(expr);
if (expr == nullptr) {
break;
};
}
mutex_unlock(mutex);
}