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

Fix up javaslang FlavourImpl, modify some derivators to generate slightly more idiomatic code #29

Merged
merged 1 commit into from
Feb 18, 2016

Conversation

rdegnan
Copy link
Contributor

@rdegnan rdegnan commented Feb 13, 2016

No description provided.

.addStatement("_evaluation = this.evaluation")
.beginControlFlow("if (_evaluation == null)")
.addStatement("this.evaluation = _evaluation = expression.$L()", Utils.getAbstractMethods(lazyTypeElement.getEnclosedElements()).get(0).getSimpleName())
.addStatement("this.expression = null")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the expression was set to null also to free-up memory.

@jbgi jbgi merged commit 2eb44fa into derive4j:master Feb 18, 2016
@jbgi jbgi added this to the 0.7 milestone Feb 18, 2016
@jbgi
Copy link
Member

jbgi commented Feb 18, 2016

thanks @rdegnan! merged most of the pull request, except for the lazy implementation changes and also kept jdk Supplier for javaslang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants