On 09/14/2012 05:14 PM, Paolo Carlini wrote:
lookup_field returns NULL_TREE and dependent_type_p (context) is false. It seems to me that the return value of lookup_field is right.No, I don't think it makes sense for lookup_field to return NULL_TREE. For our testcase we should find the nested type (or we should not call lookup_field at all here)
Paolo.