-
Notifications
You must be signed in to change notification settings - Fork 396
Comparing changes
Open a pull request
base repository: scala-js/scala-js
base: v1.18.1
head repository: scala-js/scala-js
compare: v1.18.2
- 13 commits
- 175 files changed
- 2 contributors
Commits on Jan 8, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2cdb10b - Browse repository at this point
Copy the full SHA 2cdb10bView commit details
Commits on Jan 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4f96d2c - Browse repository at this point
Copy the full SHA 4f96d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff72b7f - Browse repository at this point
Copy the full SHA ff72b7fView commit details
Commits on Jan 15, 2025
-
Fix #5115: Apply the StoreModule hack to JSConstructorDef from 1.8.
Before 1.11, the body of `JSConstructorDef`s was a straight list of trees. We have a hack that extracts the three parts of a structured `JSConstructorBody`: `beforeSuper`, `superCall` and `afterSuper`. In 1.18, we introduced a separate hack to ensure that `afterSuper` starts with a `StoreModule` instruction. Unfortunately, we did not apply the latter hack on the result of the former. This means our deserializer incorrectly reads JS module classes from before 1.11. This commit makes sure to also apply the hack in that situation. Unfortunately, this does not come with automated tests. We do not have any non-native JS module class in our standard library, which is currently our only source of old IR for backward compatibility tests.
Configuration menu - View commit details
-
Copy full SHA for 78ce1c8 - Browse repository at this point
Copy the full SHA 78ce1c8View commit details -
Merge pull request #5113 from sjrd/scala-2.12.10-2.13.16
Upgrade to Scala 2.12.20 and 2.13.16.
Configuration menu - View commit details
-
Copy full SHA for 8e69b34 - Browse repository at this point
Copy the full SHA 8e69b34View commit details -
Ensure the switch of Bug1955 is always a switch by adding more cases.
Under 4 cases, some versions of the compiler do not emit a switch match. That defeats the purpose of that test.
Configuration menu - View commit details
-
Copy full SHA for 7b5528e - Browse repository at this point
Copy the full SHA 7b5528eView commit details -
Fix #5112: Recognize asInstanceOf around jump to default label.
That shape gets produced by Scala 2.13.16+ in some cases.
Configuration menu - View commit details
-
Copy full SHA for 498e56b - Browse repository at this point
Copy the full SHA 498e56bView commit details -
Codegen: Make the handling of default clause jumps more generic.
Previously, we had to recognize specific shapes of case bodies in order to extract jumps to default labels. This was fragile, as changes in nsc's codegen could invalidate our assumptions. We now take a more general approach. We register the default label in the `enclosingLabelDefInfos`. Jumps to that label can therefore be handled wherever they appear inside the case bodies. We still require a specific shape to extract the *definition* of the default label in the wildcard case. This can't be helped, as far as I can tell. Ultimately, the JS code generated for the test suites is unchanged, both in 2.12 and 2.13.
Configuration menu - View commit details
-
Copy full SHA for ee3e9a0 - Browse repository at this point
Copy the full SHA ee3e9a0View commit details -
Optimize the shapes of
js.Dynamic.literal()
in Scala 2.13.Somehow it had always escaped us that we did not correctly perform that optimization in Scala 2.13.
Configuration menu - View commit details
-
Copy full SHA for dac9aa7 - Browse repository at this point
Copy the full SHA dac9aa7View commit details -
Merge pull request #5116 from sjrd/fix-jsmoduleclass-hack-aftersuper-…
…from-1.8 Fix #5115: Apply the StoreModule hack to JSConstructorDef from 1.8.
Configuration menu - View commit details
-
Copy full SHA for 6203902 - Browse repository at this point
Copy the full SHA 6203902View commit details
Commits on Jan 16, 2025
-
Merge pull request #5114 from sjrd/fix-switch-match-guard-bug-2.13.16
Fix #5112: Recognize asInstanceOf around jump to default label.
Configuration menu - View commit details
-
Copy full SHA for b8c3f06 - Browse repository at this point
Copy the full SHA b8c3f06View commit details -
Merge pull request #5117 from sjrd/object-literal-on-2.13
Optimize the shapes of `js.Dynamic.literal()` in Scala 2.13.
Configuration menu - View commit details
-
Copy full SHA for c5f5ab7 - Browse repository at this point
Copy the full SHA c5f5ab7View commit details
Commits on Jan 21, 2025
-
2
Configuration menu - View commit details
-
Copy full SHA for c7cbc7a - Browse repository at this point
Copy the full SHA c7cbc7aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.18.1...v1.18.2