nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nit: Added link to `CONTRIBUTING.md` from the README
[nit.git]
/
tests
/
error_spe_proc.nit
diff --git
a/tests/error_spe_proc.nit
b/tests/error_spe_proc.nit
index
d946e44
..
17949f3
100644
(file)
--- a/
tests/error_spe_proc.nit
+++ b/
tests/error_spe_proc.nit
@@
-15,10
+15,13
@@
# limitations under the License.
class A
-meth toto do end
+fun toto do end
end
class B
-special A
-redef meth toto: Int do return 2end
+ super A
+redef fun toto: Int do return 2 end
end
+
+var b = new B
+b.toto.output