typing: Make `TypeVisitor::anchor` non-nullable
[nit.git] / src / metrics / detect_covariance.nit
index 25463ad..643679a 100644 (file)
@@ -350,7 +350,6 @@ redef class TypeVisitor
                if dcp.is_disabled then return res
 
                var anchor = self.anchor
-               assert anchor != null
                var supx = sup
                var subx = sub
                var p = node.parent.as(not null)