On 10/10/2011 03:56 PM, Fabien Chêne wrote:
It tried to add the target declaration of a USING_DECL in the method_vec of the class where the USING_DECL is declared. Thus, I copied the target decl, adjusted its access, and then called add_method with the target decl.
Copying the decl is unlikely to do what we want, I think. Does putting the target decl directly into the method vec work? If not, perhaps lookup_fnfields_1 should look through the field list for function USING_DECLs.
Jason