Skip to content

Fix #2723: generate direct method for inline accessors #6596

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

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

liufengyun
Copy link
Contributor

@liufengyun liufengyun commented Jun 3, 2019

Fix #2723: generate direct method for inline accessors

If the inline accessor is an implicit function type,
the rhs is a RefTree instead of a closure. We need to
first eta-expand and then generate the direct method.

If the inline accessor is an implicit function type,
the rhs is a RefTree instead of a closure. We need to
first eta-expand and then generate the direct method.
@odersky odersky merged commit 3736816 into scala:master Jun 3, 2019
@liufengyun liufengyun deleted the fix-2723 branch June 3, 2019 20:40
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.

Exception while transforming inline accessor
2 participants