class X def main is shared .bar /# def foo /# print 'a' print 'b' #/ print x # if this were "seen" by the compiler, it would cause an error #/ def bar is shared pass