Skip to content

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