nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manual: CI check with nitunit
[nit.git]
/
tests
/
base_as_cast.nit
diff --git
a/tests/base_as_cast.nit
b/tests/base_as_cast.nit
index
a93c628
..
d383482
100644
(file)
--- a/
tests/base_as_cast.nit
+++ b/
tests/base_as_cast.nit
@@
-17,22
+17,22
@@
import kernel
class O
import kernel
class O
- redef meth output do 0.output
+ redef fun output do 0.output
end
class A
end
class A
-special O
+ super O
init do end
end
class U
init do end
end
class U
- redef meth output do 1.output
+ redef fun output do 1.output
end
class B
end
class B
-special A
-special U
- redef meth output do 2.output
+ super A
+ super U
+ redef fun output do 2.output
init do end
end
init do end
end