Skip to content
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

Updated reflective finding of declared vals in Bundles. #181

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

albert-magyar
Copy link
Contributor

A while ago, I added a check that elaborates the declared fields of a class and examines whether methods share names with fields to determine whether they are val accessors or not (along with other checks, like arity).

This made parameter-less methods returning instances of Data work inside modules, but issue #179 brings up the problem that this won't work in a Bundle. The branch here fixes this issue by performing the new check for val accessors in Bundle instances. In order to reduce the redundant code, I thought it might be a good idea to factor out the generation of a list of methods categorized as val accessors into another object's method.

@grebe grebe mentioned this pull request May 13, 2015
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.

2 participants