class Foo pass class Bar def _lex as Foo* yield _baz # used to cause an internal error due to node transformation def _baz as Foo return Foo() class P def main pass