nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check_annotation: Adding expects annotation
[nit.git]
/
tests
/
test_ffi_c_lots_of_refs.nit
diff --git
a/tests/test_ffi_c_lots_of_refs.nit
b/tests/test_ffi_c_lots_of_refs.nit
index
79c2654
..
d6abce2
100644
(file)
--- a/
tests/test_ffi_c_lots_of_refs.nit
+++ b/
tests/test_ffi_c_lots_of_refs.nit
@@
-20,12
+20,12
@@
extern class As `{ A* `}
`}
fun []=(i: Int, v: A) `{
- recv[i] = v;
+ self[i] = v;
A_incr_ref(v);
`}
fun [](i: Int): A `{
- return recv[i];
+ return self[i];
`}
end