Remove some dead code

This commit is contained in:
gingerBill
2020-07-14 16:36:33 +01:00
parent c4067372dd
commit c18fc2da9f
6 changed files with 17 additions and 10 deletions
-3
View File
@@ -1745,9 +1745,6 @@ Type *check_get_params(CheckerContext *ctx, Scope *scope, Ast *_params, bool *is
if (p->flags&FieldFlag_auto_cast) {
param->flags |= EntityFlag_AutoCast;
}
if (p->flags&FieldFlag_const) {
param->flags |= EntityFlag_ConstInput;
}
param->state = EntityState_Resolved; // NOTE(bill): This should have be resolved whilst determining it
add_entity(ctx->checker, scope, name, param);