Skip to content

Upgrade to Scalajs 1.5.0 and implement custom JS function types #11818

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 4 commits into from
Mar 23, 2021

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Mar 19, 2021

No description provided.

sjrd added 3 commits March 19, 2021 10:40
This includes forward ports of the compiler changes in the
following upstream commits:

- scala-js/scala-js@5a15add
  Encode fields of type Nothing with scala.runtime.Nothing$.
- scala-js/scala-js@294efab
  Do not emit abstract methods in non-native JS classes.
- scala-js/scala-js@f0476c0
  Encode allowed LHS of Assign in type system
- scala-js/scala-js@df5b3c6
  Replace `rest` field in `ir.ParamDef` with special members

It does *not* contain the changes from the upstream commit

- scala-js/scala-js@7edacf5
  Generalize js.Function's to allow user-defined ones.

Porting the support for custom JS function types is left for a
separate commit for this repo. This means that we need to blacklist
the new upstream test file `CustomJSFunctionTest.scala`.
@sjrd sjrd added this to the 3.0.0-RC2 milestone Mar 19, 2021
@sjrd sjrd requested a review from nicolasstucki March 19, 2021 16:39
@sjrd
Copy link
Member Author

sjrd commented Mar 19, 2021

@anatoliykmetyuk There are two failures in the Scala.js tests, related to JavaScript Symbols. I cannot reproduce those errors locally. Perhaps the Node.js version used by the CI is too old? I have v14.15.0 on my computer.

We need Node 14 to get some Scala.js 1.5.0 tests to pass, but since I
had to regenerate the docker image I also upgraded the JDK to the latest
release.
@sjrd
Copy link
Member Author

sjrd commented Mar 22, 2021

Thanks @smarter. It's green now :)

@nicolasstucki nicolasstucki merged commit d15df36 into scala:master Mar 23, 2021
@nicolasstucki nicolasstucki deleted the scalajs-1.5.0 branch March 23, 2021 08:39
@Kordyjan Kordyjan modified the milestones: 3.0.0-RC2, 3.0.0 Aug 2, 2023
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