redef fun to_s: String
do return _item.to_s end
- init do end
+ init(e:E) do _item = e
end
class TestNative
-special ArrayCapable[Int]
+ super ArrayCapable[Int]
init
do
fun test_toto
do
- var t = new Toto[Int]
+ var t = new Toto[Int](1)
t.set(5)
print(t)
end