Skip to content
This repository

Custom getter in combination w/ instance method sharing the property name raises exception #299

Closed
nerdsRob opened this Issue · 2 comments

2 participants

Rob Siwek tomaz
Rob Siwek

"Getter or Setter does not match exception" raised in GBMethodData validateMergeWith:(GBMethodData *)source when code looks like this

Foo.h
@property (nonatomic, assign, readonly, getter=hasNext) BOOL next;
- (void)next;

Foo.m
- (void)next
{
[self doSomething];
}

How about checking the @property data type against the method's return type?

Rob Siwek nerdsRob referenced this issue from a commit in nerdsRob/appledoc
Rob Siwek nerdsRob should fix issue #299 c89c984
tomaz
Owner

Will check pull request. This should have been working otherwise...

tomaz tomaz closed this
tomaz
Owner
tomaz commented

Is this working now? Am closing the tickets, but feel free to reopen it or comment in case there's additional problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.