Skip to content

Compatibility with Scala 2.12.0-RC1 #160

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 2 commits into from
Sep 8, 2016
Merged

Conversation

retronym
Copy link
Member

@retronym retronym commented Sep 8, 2016

  • method local lazy vals are now encoded as a single ValDef
    rather than a ValDef + DefDef pair. We need to treat ValDef-s
    with the LAZY flag in the same way as we used to treat the
    DefDef.
  • Rename one of the symbols ANF,anf in the same scope to avoid
    generating anonymous class names that differ only in case. The
    compiler warned about this one.
  • When patching the LabelDefs to have a Unit result type, propagate
    this other LabelDefs conclude with a jump to that label. Not sure
    why, but without this we now hit an error in the backend about the
    nonsensical attempt to emit a coercion from void to int.
  • Use crossScalaVersions in the build and update the Scala versions
    tested in CI.

@retronym retronym added this to the 0.9.6 milestone Sep 8, 2016
  - method local lazy vals are now encoded as a single ValDef
    rather than a ValDef + DefDef pair. We need to treat ValDef-s
    with the LAZY flag in the same way as we used to treat the
    DefDef.
  - Rename one of the symbols `ANF,anf` in the same scope to avoid
    generating anonymous class names that differ only in case. The
    compiler warned about this one.
  - When patching the LabelDefs to have a `Unit` result type, propagate
    this other LabelDefs conclude with a jump to that label. Not sure
    why, but without this we now hit an error in the backend about the
    nonsensical attempt to emit a coercion from void to int.
  - Use crossScalaVersions in the build and update the Scala versions
    tested in CI.
@retronym
Copy link
Member Author

retronym commented Sep 8, 2016

Screenshot to show that the Scala / JDK build matrix config worked:

image

@retronym retronym merged commit 567ca8b into scala:master Sep 8, 2016
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.

1 participant