import end
-class Object
+interface Object
end
class Int
end
class Foo
- readable writable var _a1: Int
- readable writable var _a2: Int
+ var a1: Int
+ var a2: Int
fun run
do
a1.output
a2.output
end
- init
+ init is
+ old_style_init
do
a1 = 1
a2 = 2
class Bar
super Foo
- readable writable var _a3: Int
+ var a3: Int
redef fun run
do
a1.output
a3.output
end
- init
+ init is
+ old_style_init
do
a1 = 10
a2 = 20