rta: forgot to call Array#with_native on ASuperstringExpr
[nit.git] / src / rapid_type_analysis.nit
index 1d41c34..6be21eb 100644 (file)
@@ -458,6 +458,8 @@ redef class ASuperstringExpr
                v.add_type(v.get_class("NativeArray").get_mtype([v.get_class("Object").mclass_type]))
                var prop = v.get_method(arraytype, "join")
                v.add_monomorphic_send(arraytype, prop)
+               var prop2 = v.get_method(arraytype, "with_native")
+               v.add_monomorphic_send(arraytype, prop2)
        end
 end