nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: implement `camera_control` for linux
[nit.git]
/
tests
/
error_spe_param2.nit
diff --git
a/tests/error_spe_param2.nit
b/tests/error_spe_param2.nit
index
8f55b3d
..
35680b2
100644
(file)
--- a/
tests/error_spe_param2.nit
+++ b/
tests/error_spe_param2.nit
@@
-16,10
+16,13
@@
import kernel
class A
-meth toto(i: Int) do end
+fun toto(i: Int) do end
end
class B
-special A
-redef meth toto(c: Char) do end
+ super A
+redef fun toto(c: Char) do end
end
+
+var b = new B
+b.toto(true)