nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: `all` generate manpages as `pandoc` is no more required
[nit.git]
/
tests
/
test_create.nit
diff --git
a/tests/test_create.nit
b/tests/test_create.nit
index
2eea360
..
0eee185
100644
(file)
--- a/
tests/test_create.nit
+++ b/
tests/test_create.nit
@@
-17,15
+17,15
@@
import kernel
redef class Object
import kernel
redef class Object
- meth printn(a: Object)
+ fun printn(a: Object)
do
a.output
end
end
class Toto
do
a.output
end
end
class Toto
- attr _a: Int
- redef meth output
+ var a: Int is noinit
+ redef fun output
do
printn(_a)
end
do
printn(_a)
end
@@
-47,7
+47,7
@@
class Toto
end
class Test
end
class Test
- attr _t: Toto
+ var t: Toto is noinit
init
do
init
do