From: Jean Privat Date: Sun, 24 May 2015 02:30:32 +0000 (-0400) Subject: rta: fix the real live type in superstring (that is `NativeArray[String]`) X-Git-Tag: v0.7.5~11^2~2 X-Git-Url: http://nitlanguage.org rta: fix the real live type in superstring (that is `NativeArray[String]`) Signed-off-by: Jean Privat --- diff --git a/src/rapid_type_analysis.nit b/src/rapid_type_analysis.nit index 81e14fa..8e5565c 100644 --- a/src/rapid_type_analysis.nit +++ b/src/rapid_type_analysis.nit @@ -559,7 +559,7 @@ redef class ASuperstringExpr redef fun accept_rapid_type_visitor(v) do var mmodule = v.analysis.mainmodule - var object_type = mmodule.object_type + var object_type = mmodule.string_type var arraytype = mmodule.array_type(object_type) v.add_type(arraytype) var nattype = mmodule.native_array_type(object_type)