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
/
base_init_inherit4.nit
diff --git
a/tests/base_init_inherit4.nit
b/tests/base_init_inherit4.nit
index
f269809
..
1fe6773
100644
(file)
--- a/
tests/base_init_inherit4.nit
+++ b/
tests/base_init_inherit4.nit
@@
-2,7
+2,7
@@
import kernel
redef interface Object
redef interface Object
- meth foo
+ fun foo
do
'a'.output
'\n'.output
do
'a'.output
'\n'.output
@@
-10,7
+10,7
@@
redef interface Object
end
interface M
end
interface M
- redef meth foo
+ redef fun foo
do
'm'.output
super
do
'm'.output
super
@@
-23,7
+23,7
@@
class B
'B'.output
end
'B'.output
end
- redef meth foo
+ redef fun foo
do
'b'.output
super
do
'b'.output
super
@@
-31,7
+31,7
@@
class B
end
interface N
end
interface N
- redef meth foo
+ redef fun foo
do
'n'.output
super
do
'n'.output
super
@@
-41,7
+41,7
@@
end
class O
special M
special B
class O
special M
special B
- redef meth foo
+ redef fun foo
do
'o'.output
super
do
'o'.output
super
@@
-51,7
+51,7
@@
end
class P
special B
special N
class P
special B
special N
- redef meth foo
+ redef fun foo
do
'p'.output
super
do
'p'.output
super
@@
-71,7
+71,7
@@
class Q
#alt3#special O
#alt3#special P
#alt3#special O
#alt3#special P
- redef meth foo
+ redef fun foo
do
'q'.output
super
do
'q'.output
super