This commit is contained in:
gingerBill
2022-11-21 10:25:34 +00:00
parent c663566cd5
commit 27d56d0da4
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -1629,6 +1629,8 @@ Type *check_get_params(CheckerContext *ctx, Scope *scope, Ast *_params, bool *is
// This is just to add the error message to determine_type_from_polymorphic which
// depends on valid position information
op.expr = _params;
op.mode = Addressing_Invalid;
op.type = t_invalid;
}
if (is_type_polymorphic_type) {
type = determine_type_from_polymorphic(ctx, type, op);