On Fri, Jun 1, 2012 at 9:50 AM, Jason Merrill wrote:
> In 4.7, this is one bug: we are doing a push_to_top_level to instantiate the
> lambda, and then not pushing back into the function scope that the lambda
> belongs to. Fixed by following the lead of synthesize_method and only doing
> push_func
In 4.7, this is one bug: we are doing a push_to_top_level to instantiate
the lambda, and then not pushing back into the function scope that the
lambda belongs to. Fixed by following the lead of synthesize_method and
only doing push_function_context if we're dealing with a local class.
On the