Skip to content

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

Merged
merged 3 commits into from
Oct 30, 2017

Conversation

@nicolasstucki nicolasstucki changed the title Port https://github.com/scala/scala/pull/4737 and https://github.com/scala/scala/pull/4944 Port scala/#4737 and scala/#4944 Oct 26, 2017
@nicolasstucki
Copy link
Author

Testing this in scala/scala3#3391

@nicolasstucki nicolasstucki requested a review from smarter October 26, 2017 14:10
@nicolasstucki
Copy link
Author

Passed tests in scala/scala3#3391

@nicolasstucki nicolasstucki changed the title Port scala/#4737 and scala/#4944 Port scala#4737 and scala#4944 Oct 26, 2017
@@ -0,0 +1,70 @@
package scala.tools.nsc
Copy link
Member

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.

Copy link
Author

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
Copy link
Member

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@smarter
Copy link
Member

smarter commented Oct 26, 2017

When porting commits, please put a link to the original PR and put the hash of the original commit in the commit message.

soc and others added 3 commits October 27, 2017 08:56
... 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
@nicolasstucki
Copy link
Author

Passed tests in scala/scala3#3391

@nicolasstucki nicolasstucki merged commit 9dfe905 into lampepfl:sharing-backend Oct 30, 2017
nicolasstucki pushed a commit to dotty-staging/scala that referenced this pull request Jul 24, 2020
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.

4 participants