-
Notifications
You must be signed in to change notification settings - Fork 14
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 new mixin methods #86
Labels
Milestone
Comments
Another issue: module accessors in traits were |
lrytz
added a commit
to lrytz/scala
that referenced
this issue
Mar 9, 2016
lrytz
added a commit
to lrytz/scala
that referenced
this issue
Mar 9, 2016
Ensures that mixin methods of `@inline` annotated concrete trait methods inline the trait method. Fixes scala/scala-dev#86
lrytz
added a commit
to lrytz/scala
that referenced
this issue
Mar 23, 2016
Ensures that mixin methods of `@inline` annotated concrete trait methods inline the trait method. Fixes scala/scala-dev#86
lrytz
added a commit
to lrytz/scala
that referenced
this issue
Mar 23, 2016
Ensures that mixin methods of `@inline` annotated concrete trait methods inline the trait method. Fixes scala/scala-dev#86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bfore nuke-impl-classes, the mixin
f
inC
isdef f = T$class.f(this)
, which is inlined.with default methods the mixin becomes
def f = super.f
and is currently not inlined, even though it could (INVOKESPECIAL
).Note that this also causes an inliner warning (
T::f()I is annotated @inline but cannot be inlined: the method is not final and may be overridden
)The text was updated successfully, but these errors were encountered: