lib/core/stream: LineIterator use CachedIterator
[nit.git] / tests / test_ffi_c_global_ref.nit
index daac6f2..4fff19f 100644 (file)
@@ -27,7 +27,7 @@ class ToBePreserved
 end
 
 class A
-       fun save_as_global( tbp : ToBePreserved, i : Int ) import ToBePreserved::output `{
+       fun save_as_global( tbp : ToBePreserved, i : Int ) import ToBePreserved.output `{
                if ( global_tbps[i] != NULL )
                        ToBePreserved_decr_ref( global_tbps[i] );
 
@@ -38,7 +38,7 @@ class A
        fun recover_unsafe( i : Int ) : ToBePreserved `{
                return global_tbps[i];
        `}
-       fun recover( i : Int ) : nullable ToBePreserved import ToBePreserved as nullable `{
+       fun recover( i : Int ) : nullable ToBePreserved import ToBePreserved.as nullable `{
                if ( global_tbps[i] != NULL ) {
                        return ToBePreserved_as_nullable( global_tbps[i] );
                } else {