Skip to content

Fix potential infinite recursion on resolving PFObject subclass properties. #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2015

Conversation

nlutsenko
Copy link
Contributor

We get into in infinite recursion if there are 2 subclasses of PFObject and the property is implemented on the superclass doesn't have an instance variable.
This fixes the problem. Looks like a typo in the first place.

@richardjrossiii Would be awesome to have tests on this.

@nlutsenko nlutsenko added this to the 1.8.2 milestone Aug 24, 2015
nlutsenko added a commit that referenced this pull request Aug 24, 2015
Fix potential infinite recursion on resolving PFObject subclass properties.
@nlutsenko nlutsenko merged commit d76b343 into master Aug 24, 2015
@nlutsenko nlutsenko deleted the nlutsenko.superclass branch August 24, 2015 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants