#!/usr/bin/env mio

Foo = Object clone do (
    foo = method(
        print("foo")
    )
)

Bar = Foo clone do (
    foo = method(
        super() foo()
        print("bar")
    )
)

World = Bar clone do (
    foo = method(
        super() foo()
        print("Hello World!")
    )
)
