typing: warnings related to adaptive typing are moved to the post_typing
[nit.git] / src / metrics / detect_covariance.nit
index 1ab719b..ef403a3 100644 (file)
@@ -318,7 +318,7 @@ redef class TypeVisitor
 
        fun dcp: DetectCovariancePhase do return modelbuilder.toolcontext.detect_covariance_phase
 
-       redef fun visit_expr_cast(node, nexpr, ntype)
+       redef fun check_expr_cast(node, nexpr, ntype)
        do
                var sub = super