On 2014-03-24 17:23, Jason Merrill wrote:
On 03/18/2014 10:46 PM, Adam Butcher wrote:
-         while (scope->kind == sk_class
-                && !TYPE_BEING_DEFINED (scope->this_entity))

Does it work to just change TYPE_BEING_DEFINED to currently_open_class?

No. The object referred to by 'scope->this_entity' is the same for each of the two levels, so unless there's something else I can pass to 'currently_open_class', the result will be equivalent; the issue is that the class being referred to *is* being defined, but I need to skip over the second class-scope for that type to arrive at the defining scope level.

Adam

Reply via email to