X-Git-Url: http://nitlanguage.org diff --git a/tests/test_ffi_c_super.nit b/tests/test_ffi_c_super.nit index 68c20f8..e3052cf 100644 --- a/tests/test_ffi_c_super.nit +++ b/tests/test_ffi_c_super.nit @@ -21,10 +21,10 @@ end class B super A - redef fun id : String import super, NativeString::to_s, String::to_cstring `{ + redef fun id : String import super, NativeString.to_s, String.to_cstring `{ char *new_name; char *prefix = "B special "; - char *super_name = String_to_cstring( B_id___super( recv ) ); + char *super_name = String_to_cstring( B_id___super( self ) ); new_name = calloc( strlen( prefix )+strlen( super_name )+1, sizeof(char) ); strcpy( new_name, prefix );