On 10/26/2011 04:04 PM, Paolo Carlini wrote:
The below tries to catch the problem very early, in cp_parser_postfix_dot_deref_expression and apparently works fine, passes the testsuite, etc. Is it too early? Is the check tight enough?
At a glance, it looks too early; it's valid to have namespace-qualified names after ->.
namespace A { struct B { int i; }; }; A::B* b; int i = b->A::B::i; Jason