On 11/07/2011 10:54 AM, Dodji Seketeli wrote:
I didn't realize the elaborated-type-specifier case. Fixed now.
There still seem to be problems printing the scope:
namespace N
{
template <class T> using U = T*;
};
void f(N::U<int>) { blah; }
------------
wa.C: In function ‘void N::f(U<int>)’:
wa.C:6:21: error: ‘blah’ was not declared in this scope
Note how the N:: is attached to the function rather than the parameter
type. I wonder how that happens...
But this patch is close enough; go ahead and check it in as is and fix
this issue afterwards.
Jason