rta: store real types in live_cast_type
[nit.git] / src / collect_super_sends.nit
index 9e6f9b0..70822ce 100644 (file)
@@ -41,7 +41,7 @@ private class CollectSuperSends
                        return
                end
                n.visit_all(self)
-               if n isa ASuperExpr and n.mproperty == null then
+               if n isa ASuperExpr and n.callsite == null then
                        var mprop = mpropdef
                        assert mprop != null
                        res.add(mprop)