Re: [PATCH] [PR86747] tsubst friend tpl ctxt before looking it up for dupes

2018-12-05 Thread Jason Merrill
On 11/16/18 5:32 PM, Alexandre Oliva wrote: When a member template is redeclared as a friend, we enter the context of the member before looking it up, and then we check that the decls are compatible. However, when the member template references template types of the enclosing context, say an

[PATCH] [PR86747] tsubst friend tpl ctxt before looking it up for dupes

2018-11-16 Thread Alexandre Oliva
When a member template is redeclared as a friend, we enter the context of the member before looking it up, and then we check that the decls are compatible. However, when the member template references template types of the enclosing context, say an enclosing template class, the compare fails