class Foo def bar(i as int) as int return i class Test def main is shared t = Foo().bar # .error. expecting 1 argument print t