You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix#22794: Emit the definition of Arrays.newArray even though it's a primitive. (#22797)
Until 3.6.x, we used the user-space definition of `Arrays.newArray` in
Scala.js. We changed it to a primitve in
2852168, to match the behavior of the
JVM backend.
However, that had the side effect of not emitting its definition at all,
like other primitives. For backward binary compat reasons, we do need
that definition.
We specifically make an exception for that method, which is now emitted,
even though it is otherwise treated as a primitive.
0 commit comments