nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git]
/
tests
/
test_super_param.nit
diff --git
a/tests/test_super_param.nit
b/tests/test_super_param.nit
index
293bbb2
..
b82998e
100644
(file)
--- a/
tests/test_super_param.nit
+++ b/
tests/test_super_param.nit
@@
-17,7
+17,7
@@
import kernel
class A
- meth foo(i: Int): Int
+ fun foo(i: Int): Int
do
return i + 10
end
@@
-25,7
+25,7
@@
end
class B
special A
- redef meth foo(i: Int): Int
+ redef fun foo(i: Int): Int
do
return super + 5
end