diff options
| author | gingerBill <bill@gingerbill.org> | 2020-07-14 16:36:33 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-07-14 16:36:33 +0100 |
| commit | c18fc2da9f4aa38a2bc86b6d2c32fb8d50db4545 (patch) | |
| tree | e106b2f3f296925f8b106424778cdc92b7a647ce /src/check_type.cpp | |
| parent | c4067372dddbabd327cda1d4a821ef6b343a29b1 (diff) | |
Remove some dead code
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 61ad34133..fe76d65d5 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -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); |