diff options
| author | gingerBill <bill@gingerbill.org> | 2019-05-26 15:16:45 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-05-26 15:16:45 +0100 |
| commit | 5697d6df7466ef5f4e676f391c104ef165cadb6b (patch) | |
| tree | 0ea6bf2619a510d97bc5ed19b8fd891740c334e1 /src/check_expr.cpp | |
| parent | 426c1ed6f407bcfd3c98e266075f9e9f2cca711c (diff) | |
-go-to-definitions (OGTD file format)
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 3acc369a0..928f3f063 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -371,6 +371,7 @@ bool find_or_generate_polymorphic_procedure(CheckerContext *c, Entity *base_enti add_entity_and_decl_info(&nctx, ident, entity, d); // NOTE(bill): Set the scope afterwards as this is not real overloading entity->scope = scope->parent; + entity->file = base_entity->file; entity->pkg = base_entity->pkg; AstFile *file = nullptr; |