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

nerdsRob opened this Issue Jan 4, 2013 · 2 comments


None yet

2 participants

nerdsRob commented Jan 4, 2013

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

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

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

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

@nerdsRob nerdsRob added a commit to nerdsRob/appledoc that referenced this issue Jan 4, 2013
@nerdsRob nerdsRob should fix issue #299 c89c984
tomaz commented Jan 5, 2013

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

tomaz commented May 17, 2013

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

@tomaz tomaz closed this May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment