aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp3
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);