contracts: change the contract syntax
[nit.git] / tests / test_ffi_c_global_ref.nit
index 9b90564..4fff19f 100644 (file)
@@ -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 {