typing: Make `TypeVisitor::mclassdef` non-nullable
[nit.git] / src / semantize / typing.nit
index 532d146..41b5eeb 100644 (file)
@@ -43,7 +43,7 @@ private class TypeVisitor
        var anchor: nullable MClassType = null
 
        # The analyzed mclassdef
-       var mclassdef: nullable MClassDef = null
+       var mclassdef: MClassDef is noinit
 
        # The analyzed property
        var mpropdef: MPropDef