From 72f4186b216175b96c6692aa668644f78d8ccb13 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 20 Oct 2018 12:55:48 +0100 Subject: Fix atomic.odin --- src/checker.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/checker.cpp') 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); -- cgit v1.2.3