Fix SelectorCallExpr with no return values

This commit is contained in:
gingerBill
2020-05-22 23:41:17 +01:00
parent fd6e2ed5de
commit 26fe9b0212
3 changed files with 19 additions and 3 deletions

View File

@@ -9210,7 +9210,9 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
ce->args = modified_args;
se->modified_call = true;
check_expr_with_type_hint(c, o, se->call, type_hint);
check_expr_base(c, o, se->call, type_hint);
o->expr = node;
return Expr_Expr;
case_end;