class Test def foo(args as vari int) as int sum = 0 for arg in args, sum += arg return sum get [args as vari int] as int sum = 0 for arg in args, sum += arg return sum def main assert .foo(3) == 3 assert .foo(3, 5) == 8 assert this[3] == 3 assert this[3, 5] == 8