Skip to content

Conversation

Kordyjan
Copy link
Contributor

Backports #15498

In Scala.js, function specialization is disabled. This means that
non-specialized functions can reach `EtaReduce`. Previously, it
did not handle the shape of right-hand-side for non-specialized
functions returning primitives. We fix the issue by handling those,
like we already handled `.asInstanceOf`s.
@Kordyjan Kordyjan added this to the 3.2.0 backports milestone Jun 22, 2022
@Kordyjan Kordyjan requested a review from sjrd June 22, 2022 13:41
@sjrd sjrd enabled auto-merge June 22, 2022 13:54
@sjrd sjrd merged commit 8e63cb4 into scala:release-3.2.0 Jun 22, 2022
@sjrd sjrd deleted the backport-15498 branch June 22, 2022 15:04
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.

2 participants