Skip to content
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

Upgrade to Scala.js 1.16.0. #20294

Merged
merged 5 commits into from
May 6, 2024
Merged

Upgrade to Scala.js 1.16.0. #20294

merged 5 commits into from
May 6, 2024

Commits on Apr 29, 2024

  1. Fix scala-js/scala-js#4801: Rebase the super JS type as seen from the…

    … this type in JS super call.
    
    When doing a super call to a method of a path-dependent JS super
    class, the `superClass.typeRef` is only valid as seen from the
    super class' thisType. We need to rebase it with `asSeenFrom` to
    be in the context of the current class' thisType.
    
    Forward port of the upstream commit
    scala-js/scala-js@3cef9d0
    sjrd committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    6e7ea68 View commit details
    Browse the repository at this point in the history
  2. Upgrade to Scala.js 1.14.0.

    sjrd committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    3474232 View commit details
    Browse the repository at this point in the history
  3. Upgrade to Scala.js 1.15.0.

    sjrd committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    710aad8 View commit details
    Browse the repository at this point in the history
  4. Fix scala-js/scala-js#4929: Fix logic for moving early assignements i…

    …n JS ctors.
    
    Previously, we moved all statements in the constructors after the
    super constructor call. However, it turns out that there are
    statements that must be kept before, notably local `val`s
    generated for default arguments to the super constructor.
    
    We now keep statements where they are by default. We only move
    statements of the form `C.this.field = ident;`, which are the
    only ones that require access to `this`.
    
    Forward port of the upstream commit
    scala-js/scala-js@2e4594f
    sjrd committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    78f3eeb View commit details
    Browse the repository at this point in the history
  5. Upgrade to Scala.js 1.16.0.

    Code changes are forward ports of the following refactorings:
    
    * Remove the parameters to StoreModule IR nodes.
      scala-js/scala-js@659d518
    * Refactor: Make FieldName a composite of ClassName and SimpleFieldName.
      scala-js/scala-js@723663b
    sjrd committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    8ebef0f View commit details
    Browse the repository at this point in the history