diff options
| author | gingerBill <bill@gingerbill.org> | 2023-02-19 12:10:28 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-02-19 12:10:28 +0000 |
| commit | 20eacc4a8493f0d0088ceebbcc1490207c48b5ed (patch) | |
| tree | 6e11a330a2d7d1ad9360c79a2866595989697587 /src/check_decl.cpp | |
| parent | a28699b42d3ce3df54d9d9f3024f1a1a6add35f9 (diff) | |
Fix issue that conflicts with constant parapoly procedures and `deferred_*` procedures
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 1adb1e2ed..63e6514e0 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -1532,19 +1532,6 @@ gb_internal bool check_proc_body(CheckerContext *ctx_, Token token, DeclInfo *de break; } } - - // Add constant data to the identifier directly - for (Entity *e : params->variables) { - if (e->kind == Entity_Constant) { - Ast *ident = e->identifier.load(); - if (ident) { - add_entity(ctx, e->scope, ident, e); - ident->tav.mode = Addressing_Constant; - ident->tav.value = e->Constant.value; - ident->tav.type = e->type; - } - } - } } } |