]> Nishi Git Mirror - gwion.git/commitdiff
:art: Simplify Exp_Decl
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 12 Nov 2019 13:44:14 +0000 (14:44 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 12 Nov 2019 13:44:14 +0000 (14:44 +0100)
ast
src/parse/scan1.c

diff --git a/ast b/ast
index a665041d509e08858bfe7932dd753fd99b0fa105..710155485a0128816f915ad328572e0b88b85278 160000 (submodule)
--- a/ast
+++ b/ast
@@ -1 +1 @@
-Subproject commit a665041d509e08858bfe7932dd753fd99b0fa105
+Subproject commit 710155485a0128816f915ad328572e0b88b85278
index d3491b62d249827b8f74749f999f3b35e3394d0a..5dde97f6933eb7a52e33f237dc3bdab793ddd777 100644 (file)
@@ -56,7 +56,6 @@ ANN static Type scan1_exp_decl_type(const Env env, Exp_Decl* decl) {
     ERR_O(exp_self(decl)->pos, _("can't use private type %s"), t->name)
   if(GET_FLAG(t, protect) && (!env->class_def || isa(t, env->class_def) < 0))
     ERR_O(exp_self(decl)->pos, _("can't use protected type %s"), t->name)
-  decl->base = t->e->def;
   return decl->type = t;
 }