class Test def main is shared pass def foo(i as int) test assert i==0 # .error. Cannot find "i". body pass