class Test def main is shared t as Test = Test() assert t.foo()==1 # .warning. unnecessary assert t.foo(5)==2 assert t.foo('aoeu')==3 # no parens assert t.foo==1 def foo() as int # .warning. unnecessary return 1 def foo(i as int) as int return 2 def foo(s as String) as int return 3