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

GROOVY-7996: Using with method with a closure that references a prote… #857

Merged
merged 1 commit into from
Jan 22, 2019

Conversation

paulk-asert
Copy link
Contributor

…cted property produces ClassCastException

paulk-asert added a commit to paulk-asert/groovy that referenced this pull request Jan 22, 2019
…cted property produces ClassCastException (closes apache#857)
…cted property produces ClassCastException (closes apache#857)
@asfgit asfgit merged commit c416e12 into apache:master Jan 22, 2019
asfgit pushed a commit that referenced this pull request Jan 22, 2019
…cted property produces ClassCastException (closes #857)
@eric-milles
Copy link
Member

This change breaks down if an additional level of closure is inserted. The implicit this is transformed into a path expression in StaticTypeCheckingVisitor.existsProperty.

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.

3 participants