Fix a bug in the ``compiler`` package that caused invalid code to be generated for generator expressions.