Skip to content

Make the weak-conformance test work on Scala.js. #17656

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

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented May 31, 2023

We use x.isInstanceOf[T] instead x.getClass == classOf[T] so that the tests pass on Scala.js. This is equivalent on the JVM, so it does not make the test weaker.

We use `x.isInstanceOf[T]` instead `x.getClass == classOf[T]` so
that the tests pass on Scala.js. This is equivalent on the JVM, so
it does not make the test weaker.
@nicolasstucki nicolasstucki merged commit fc27369 into scala:main Jun 1, 2023
@sjrd sjrd deleted the test-weak-conformance-on-js branch June 1, 2023 07:28
Kordyjan added a commit that referenced this pull request Nov 21, 2023
…18962)

Backports #17656 to the LTS branch.

PR submitted by the release tooling.
@Kordyjan Kordyjan added this to the 3.3.2 milestone Dec 14, 2023
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.

3 participants