rta: check the type NativeArray before the method with_native in varargs
[nit.git] / tests / test_ni_pointer.nit
index 896d641..85a06c7 100644 (file)
@@ -18,7 +18,7 @@ extern A
 super Pointer
        new is extern
 
-       redef fun to_s : String is extern import String::from_cstring
+       redef fun to_s : String is extern import NativeString::to_s
 end
 
 var a = new A