typing: allow `new` on interface and abstract classes that have a `new`-factory
[nit.git] / src / semantize / auto_super_init.nit
index 13d2b78..25874e2 100644 (file)
@@ -206,7 +206,6 @@ redef class ASendExpr
        redef fun accept_auto_super_init(v)
        do
                var mproperty = self.callsite.mproperty
-               if mproperty == null then return
                if mproperty.is_init then
                        v.has_explicit_super_init = self
                end