Fix #284
This commit is contained in:
1 parent
9b063ad9a3
commit
d3c7d6d485
1 file changed
+3
@@ -1566,6 +1566,9 @@ Type *check_get_params(CheckerContext *ctx, Scope *scope, Ast *_params, bool *is
|
|||||||
param->state = EntityState_Resolved; // NOTE(bill): This should have be resolved whilst determining it
|
param->state = EntityState_Resolved; // NOTE(bill): This should have be resolved whilst determining it
|
||||||
|
|
||||||
add_entity(ctx->checker, scope, name, param);
|
add_entity(ctx->checker, scope, name, param);
|
||||||
|
if (is_using) {
|
||||||
|
add_entity_use(ctx, name, param);
|
||||||
|
}
|
||||||
array_add(&variables, param);
|
array_add(&variables, param);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user