nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: FFI: Fix extern methods in generic classes with the interpreter, and complex...
[nit.git]
/
tests
/
test_ffi_c_super.nit
diff --git
a/tests/test_ffi_c_super.nit
b/tests/test_ffi_c_super.nit
index
68c20f8
..
e3052cf
100644
(file)
--- a/
tests/test_ffi_c_super.nit
+++ b/
tests/test_ffi_c_super.nit
@@
-21,10
+21,10
@@
end
class B
super A
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 *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 );
new_name = calloc( strlen( prefix )+strlen( super_name )+1, sizeof(char) );
strcpy( new_name, prefix );