typing: factorize AEqExpr and ANeExpr into AEqFormExpr
authorJean Privat <jean@pryen.org>
Thu, 18 Jun 2015 01:46:19 +0000 (21:46 -0400)
committerJean Privat <jean@pryen.org>
Thu, 18 Jun 2015 01:46:19 +0000 (21:46 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/semantize/typing.nit

index 9724537..4868fc9 100644 (file)
@@ -1689,14 +1689,8 @@ redef class ABinopExpr
        redef fun property_name do return operator
        redef fun property_node do return n_op
 end
-redef class AEqExpr
-       redef fun accept_typing(v)
-       do
-               super
-               v.null_test(self)
-       end
-end
-redef class ANeExpr
+
+redef class AEqFormExpr
        redef fun accept_typing(v)
        do
                super