nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: Alternative intern
[nit.git]
/
tests
/
error_spe_param.nit
diff --git
a/tests/error_spe_param.nit
b/tests/error_spe_param.nit
index
8bcd2f3
..
ac2b294
100644
(file)
--- a/
tests/error_spe_param.nit
+++ b/
tests/error_spe_param.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: Object) do end
+ super A
+redef fun toto(c: Object) do end
end
+
+var b = new B
+b.toto(true)