-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Inline fixes #4651
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
Inline fixes #4651
Conversation
1. Fix inline accessors for static methods 2. Disable variance checks for inline accessors
When reverting last commit, the tests fail. So the answer is yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
@@ -70,6 +71,11 @@ abstract class AccessProxies { | |||
def accessorNameKind: ClassifiedNameKind | |||
def needsAccessor(sym: Symbol)(implicit ctx: Context): Boolean | |||
|
|||
def ifNoHost(reference: RefTree)(implicit ctx: Context): Tree = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is overridden in both ProtectedAccesors
and Inliner
, shouldn't it be abstract?
I think we should just merge #4490 instead. It improves what we have so far, and |
Closed in favor of #4490 |
Cherry picked the inline fixes from #4490