diff options
| author | gingerBill <bill@gingerbill.org> | 2018-10-20 12:55:48 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-10-20 12:55:48 +0100 |
| commit | 72f4186b216175b96c6692aa668644f78d8ccb13 (patch) | |
| tree | 385f46d2482302cd87e96bd637834af205ccc160 /src/checker.cpp | |
| parent | 3742d9e7e9fbb02058c7da9030a0abb023e7b244 (diff) | |
Fix atomic.odin
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 1f41a0d06..0cd234a75 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -714,8 +714,7 @@ Entity *implicit_entity_of_node(Ast *clause) { return nullptr; } -// Will return nullptr if not found -Entity *entity_of_node(CheckerInfo *i, Ast *expr) { +Entity *entity_of_node(Ast *expr) { expr = unparen_expr(expr); switch (expr->kind) { case_ast_node(ident, Ident, expr); |