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 NPE with lazy expression in intermediate expression resolution. #358

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

mattcoley
Copy link
Collaborator

Follow up on #357.
Previously resolving something like map.lazy.value would throw a NPE if lazy was a LazyExpression because we only mapped it to get() at the end of resolving the expression. Here we check every step of the way if a value returned is a LazyExpression and convert it to its underlying value.

@mattcoley mattcoley requested a review from boulter August 7, 2019 19:14
@mattcoley mattcoley merged commit 63f14d8 into master Aug 7, 2019
@mattcoley mattcoley deleted the fix-lazy-expression branch August 7, 2019 19:44
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