nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loader: `MModule::load` cause build_module_importation
[nit.git]
/
tests
/
base_attr.nit
diff --git
a/tests/base_attr.nit
b/tests/base_attr.nit
index
5c81c2b
..
4fef2d7
100644
(file)
--- a/
tests/base_attr.nit
+++ b/
tests/base_attr.nit
@@
-16,7
+16,7
@@
import end
import end
-class Object
+interface Object
end
class Int
end
class Int
@@
-24,8
+24,8
@@
class Int
end
class Foo
end
class Foo
- var _a1: Int
- var _a2: Int
+ var a1: Int is noinit
+ var a2: Int is noinit
fun run
do
_a1.output
fun run
do
_a1.output
@@
-41,7
+41,7
@@
end
class Bar
super Foo
class Bar
super Foo
- var _a3: Int
+ var a3: Int is noinit
redef fun run
do
_a1.output
redef fun run
do
_a1.output