Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore static methods when finding property accessors. Fixes #1458
Previously, when looking for property accessors, Introspection would consider a static method with a name in the required form as being an accessor for a property. Where such a static method existed, this was likely to result in the wrong value being considered as the static method is unlikely to return the correct value for an instance's property. This commit updates Introspection so that static methods are ignored when looking for property accessors.
- Loading branch information
1 parent
b600f5b
commit 8d83c41
Showing
2 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters