parser: `Visitor::visit` does not accepts `null`
[nit.git] / src / syntax / typing.nit
index 863d41e..879f40a 100644 (file)
@@ -40,7 +40,7 @@ private class TypingVisitor
        super AbsSyntaxVisitor
        redef fun visit(n)
        do
-               if n != null then n.accept_typing(self)
+               n.accept_typing(self)
        end
 
        # Current knowledge about scoped things (variable, labels, etc.)