[PATCH] D36790: [ObjC] Messages to 'self' in class methods should use class method dispatch to avoid multiple method ambiguities

Doug Gregor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 24 09:49:20 PDT 2017

doug.gregor added a comment.

Yes, I think it's reasonable to treat instancetype as an inherited requirement. I guess the only exception would be if we had some notion of final classes or methods in Objective-C, in which case they'd be able to return a concrete type.



More information about the cfe-commits mailing list