class Program def main is shared Program().run def run x = _foo assert x==5 _foo = 10 pro _foo as int get return 5 set pass