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_type.cpp | |
| parent | 426c1ed6f407bcfd3c98e266075f9e9f2cca711c (diff) | |
-go-to-definitions (OGTD file format)
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 1e05b295f..e7eafad17 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -301,6 +301,7 @@ void add_polymorphic_record_entity(CheckerContext *ctx, Ast *node, Type *named_t e = alloc_entity_type_name(s, token, named_type); e->state = EntityState_Resolved; + e->file = ctx->file; e->pkg = ctx->pkg; add_entity_use(ctx, node, e); } |