8000 WiP Separate the scalalib from the Scala.js library. by sjrd · Pull Request #4787 · scala-js/scala-js · GitHub
[go: up one dir, main page]

Skip to content

WiP Separate the scalalib from the Scala.js library. #4787

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

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove the overrides for s.c.mutable.Buffer.
They were changed in 757949e to
use a `js.WrappedArray` by default, instead of an `ArrayBuffer`.

Unfortunately, if we want to make the scalalib independent from the
Scala.js library, this is not something we can do anymore.

Ideally, we would override `ArrayBuffer` itself with an
implementation based on `js.Array`. We cannot do that either
because its `array` field is protected, and it is not final.
  • Loading branch information
sjrd committed Oct 27, 2023
commit 955b1f6c6f869bab5a5ee5b93295d4c10126a03d
51 changes: 0 additions & 51 deletions scalalib/overrides-2.12/scala/collection/mutable/Buffer.scala

This file was deleted.

233 changes: 0 additions & 233 deletions scalalib/overrides-2.13/scala/collection/mutable/Buffer.scala

This file was deleted.

0