Commit eca0f4ee authored by Thomas Van Lenten's avatar Thomas Van Lenten Committed by GitHub

Merge pull request #3261 from thomasvl/super_oddcase

If we fail to get a descriptor just super the method resolving.
parents 703cd8e1 db45687a
...@@ -3077,7 +3077,7 @@ static void ResolveIvarSet(GPBFieldDescriptor *field, ...@@ -3077,7 +3077,7 @@ static void ResolveIvarSet(GPBFieldDescriptor *field,
+ (BOOL)resolveInstanceMethod:(SEL)sel { + (BOOL)resolveInstanceMethod:(SEL)sel {
const GPBDescriptor *descriptor = [self descriptor]; const GPBDescriptor *descriptor = [self descriptor];
if (!descriptor) { if (!descriptor) {
return NO; return [super resolveInstanceMethod:sel];
} }
// NOTE: hasOrCountSel_/setHasSel_ will be NULL if the field for the given // NOTE: hasOrCountSel_/setHasSel_ will be NULL if the field for the given
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment