Re: C++ PATCH for c++/81236, missed 'this' capture with template-id in generic lambda

2018-03-14 Thread Jason Merrill
On Tue, Aug 29, 2017 at 5:37 PM, Jason Merrill wrote: > We could approach this by extending that change to all generic > lambdas, and that might be appropriate for GCC 7, but it seems to me > that this approach will just mean any problems with doing all the > normal processing in a template will r

C++ PATCH for c++/81236, missed 'this' capture with template-id in generic lambda

2017-08-29 Thread Jason Merrill
The problem here was that normally in finish_id_expression we add 'this->' to a mention of a non-static member, but there is special code for doing less if the lookup result is dependent, and so we didn't get that processing. A few months back Adam fixed 64382 by deciding to do all the normal proc