-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Default to delambdafy:method and backend:GenBCode #4580
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
Conversation
failures expected, will require a rebase once #4578 gets merged. |
@@ -224,7 +224,7 @@ trait ScalaSettings extends AbsScalaSettings | |||
|
|||
val exposeEmptyPackage = BooleanSetting("-Yexpose-empty-package", "Internal only: expose the empty package.").internalOnly() | |||
// the current standard is "inline" but we are moving towards "method" |
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.
Comment is out of date now, I'd just remove it.
looking into those today |
@retronym there's a number of tests that need to be rewritten, for example those using |
That's fine with me. Let's remind ourselves with a blocker ticket for m3 |
@retronym fixed the tests. The commit here is a squashed version of this: https://github.com/scala/scala/compare/2.12.x...lrytz:defaultsWip?expand=1 |
Switch the defaults of `-Ydelambdafy` and `-Ybackend`. Rewrite t6288b-jump-position test - no more icode Don't crash GenBCode beyond JVM code size limits A similar patch is in GenASM, see 3fa2c97 Fix check files for GenBCode / delambdafy:method defaults Force copy propagation test to ASM, see SI-9364 Force inline-ex-handlers test to GenASM, see SI-9364 Move t6613 test to pending - still broken in GenBCode Adding a `flags` file with `-Ybackend:GenASM` doesn't seem to have the desired effect. SI-6613 is re-opened. Force a few tests to GenASM, see SI-9364
It was fixed in GenASM in 44807a7.
LGTM |
Default to delambdafy:method and backend:GenBCode
Swtich the defaults of
-Ydelambdafy
and-Ybackend
.