nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
friendz: activate cheat mode
[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
8b241ff
..
e3052cf
100644
(file)
--- a/
tests/test_ffi_c_super.nit
+++ b/
tests/test_ffi_c_super.nit
@@
-24,7
+24,7
@@
class B
redef fun id : String import super, NativeString.to_s, String.to_cstring `{
char *new_name;
char *prefix = "B special ";
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 );
new_name = calloc( strlen( prefix )+strlen( super_name )+1, sizeof(char) );
strcpy( new_name, prefix );