class Foo def main is shared if (false) # .warning. Unnecessary parentheses print 1 a = 'aoeu' to Object if (a to String).length == 3 print a Foo.doSomething(5) assert (a to String).padRight(10).length == 10 a = (a to String).padRight(10) def doSomething(i as int) is shared assert i