nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: Json Ad-Hoc string parser
[nit.git]
/
tests
/
base_init_inherit.nit
diff --git
a/tests/base_init_inherit.nit
b/tests/base_init_inherit.nit
index
9424272
..
9c608b3
100644
(file)
--- a/
tests/base_init_inherit.nit
+++ b/
tests/base_init_inherit.nit
@@
-12,7
+12,7
@@
class A
'2'.output
end
'2'.output
end
- meth foo
+ fun foo
do
'a'.output
'\n'.output
do
'a'.output
'\n'.output
@@
-20,7
+20,7
@@
class A
end
class B
end
class B
-special A
+ super A
init cb
do
'B'.output
init cb
do
'B'.output
@@
-29,7
+29,7
@@
special A
'}'.output
end
'}'.output
end
- redef meth foo
+ redef fun foo
do
'b'.output
super
do
'b'.output
super
@@
-37,7
+37,7
@@
special A
end
class C
end
class C
-special B
+ super B
init cc
do
'C'.output
init cc
do
'C'.output
@@
-46,7
+46,7
@@
special B
'}'.output
end
'}'.output
end
- redef meth foo
+ redef fun foo
do
'c'.output
super
do
'c'.output
super
@@
-54,8
+54,8
@@
special B
end
class M
end
class M
-special A
- redef meth foo
+ super A
+ redef fun foo
do
'm'.output
super
do
'm'.output
super
@@
-63,9
+63,9
@@
special A
end
class N
end
class N
-special B
-special M
- redef meth foo
+ super B
+ super M
+ redef fun foo
do
'n'.output
super
do
'n'.output
super
@@
-73,8
+73,8
@@
special M
end
class O
end
class O
-special N
-special C
+ super N
+ super C
init co
do
'O'.output
init co
do
'O'.output
@@
-82,7
+82,7
@@
special C
cc
'}'.output
end
cc
'}'.output
end
- redef meth foo
+ redef fun foo
do
'o'.output
super
do
'o'.output
super