nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sdl2: intro minimal bindings to SDL2 mixer
[nit.git]
/
tests
/
test_super_param.nit
diff --git
a/tests/test_super_param.nit
b/tests/test_super_param.nit
index
293bbb2
..
1ae39e2
100644
(file)
--- a/
tests/test_super_param.nit
+++ b/
tests/test_super_param.nit
@@
-17,15
+17,15
@@
import kernel
class A
- meth foo(i: Int): Int
+ fun foo(i: Int): Int
do
return i + 10
end
end
class B
-special A
- redef meth foo(i: Int): Int
+ super A
+ redef fun foo(i: Int): Int
do
return super + 5
end