import end
-class Object
+interface Object
end
class Int
- meth output is intern
+ fun output is intern
end
class A
- meth foo(i: Int)
+ fun foo(i: Int)
do
i.output
i.output
end
- meth bar(i: Int)
+ fun bar(i: Int)
do
0.output
end
-
- init
- do
- end
end
class B
-special A
- redef meth bar(i: Int)
+ super A
+ redef fun bar(i: Int)
do
i.output
i.output
i.output
end
- meth this_is_a_dead_method
+ fun this_is_a_dead_method
do
0.output
end