-
Notifications
You must be signed in to change notification settings - Fork 3
Port scala#4737 and scala#4944 #27
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
Port scala#4737 and scala#4944 #27
Conversation
Testing this in scala/scala3#3391 |
Passed tests in scala/scala3#3391 |
@@ -0,0 +1,70 @@ | |||
package scala.tools.nsc |
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.
It'd be nice to copy this test to dotty.
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.
Ported in scala/scala3#3391
@@ -0,0 +1,907 @@ | |||
/* NSC -- new Scala compiler |
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.
No need to get this class in since we don't use optimizations, don't you think?
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.
Removed
When porting commits, please put a link to the original PR and put the hash of the original commit in the commit message. |
3b213b2
to
e9a9a43
Compare
... instead of scala.collection.mutable.StringBuilder to benefit from JVM optimizations. Unfortunately primitives are already boxed in erasure when they end up in this part of the backend. Port of cd0211c
Passed tests in scala/scala3#3391 |
Port: