nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: Android support improvements
[nit.git]
/
tests
/
test_inheritance.nit
diff --git
a/tests/test_inheritance.nit
b/tests/test_inheritance.nit
index
11deb8f
..
dc9da19
100644
(file)
--- a/
tests/test_inheritance.nit
+++ b/
tests/test_inheritance.nit
@@
-24,7
+24,7
@@
class A
end
class B
end
class B
-special A
+ super A
redef fun g do print(2) end
redef fun i do print(2) end
redef fun g do print(2) end
redef fun i do print(2) end
@@
-32,7
+32,7
@@
special A
end
class C
end
class C
-special A
+ super A
redef fun h do print(3) end
redef fun i do print(3) end
redef fun h do print(3) end
redef fun i do print(3) end
@@
-40,8
+40,8
@@
special A
end
class D
end
class D
-special B
-special C
+ super B
+ super C
redef fun i do print(4) end
init do end
redef fun i do print(4) end
init do end