]> Nishi Git Mirror - gwion.git/commitdiff
:shirt: Ast cleaning
authorfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 31 Mar 2019 17:22:44 +0000 (19:22 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 31 Mar 2019 17:22:44 +0000 (19:22 +0200)
ast
src/oo/env_utils.c

diff --git a/ast b/ast
index 51494ec4831f9680b42c0156c17be88c598a77b9..d1459fb3a76e2a75731ab77055ae57dbabfe3cd7 160000 (submodule)
--- a/ast
+++ b/ast
@@ -1 +1 @@
-Subproject commit 51494ec4831f9680b42c0156c17be88c598a77b9
+Subproject commit d1459fb3a76e2a75731ab77055ae57dbabfe3cd7
index 13885479efee738cb20a0bad6d0c248ca3a0f70b..14c9149cfab701b5a2fbc820ff010acfe46b15ab 100644 (file)
@@ -50,7 +50,7 @@ ANN static Type find_typeof(const Env env, ID_List path) {
 
 ANN Type find_type(const Env env, ID_List path) {
   if(path->ref)
-    return find_typeof(env, path->ref);
+    return find_typeof(env, path);
   Type type = nspc_lookup_type1(env->curr, path->xid);
   CHECK_OO(type)
   Nspc nspc = type->nspc;