diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-09-29 00:42:26 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-09-29 00:42:26 +0100 |
| commit | 04b5d8c132e8aabb3bb5dff31683cb45d4dff9c0 (patch) | |
| tree | e8a13d736022bd50e85f324eb5186d1ca00f0ea1 /src/checker/entity.cpp | |
| parent | 6e39a42c8a090d6e32231872cc292c90de6b304e (diff) | |
using on indexable field; Auto deref for (Index|Slice)Expr
Diffstat (limited to 'src/checker/entity.cpp')
| -rw-r--r-- | src/checker/entity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/checker/entity.cpp b/src/checker/entity.cpp index b5f73c187..32563de4c 100644 --- a/src/checker/entity.cpp +++ b/src/checker/entity.cpp @@ -129,6 +129,7 @@ Entity *make_entity_field(gbAllocator a, Scope *scope, Token token, Type *type, entity->Variable.field_index = field_index; entity->Variable.is_field = true; entity->Variable.anonymous = cast(b8)is_anonymous; + entity->Variable.is_using = cast(b8)is_anonymous; return entity; } |