var fn = Fn.new { System.print(Foo) // expect error System.print(Bar) // expect error }