Skip to content

Commit

Permalink
Drop js Any and Object from transparent classes
Browse files Browse the repository at this point in the history
They give test failures, and I don't know enough about the js class hierarchy to
be able to fix them with confidence.
  • Loading branch information
odersky committed Nov 8, 2022
1 parent 6fd96ed commit 74c079f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/src/dotty/tools/dotc/core/Definitions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1831,11 +1831,11 @@ class Definitions {
// add these for now, until we had a chance to retrofit 2.13 stdlib
// we should do a more through sweep through it then.
val strs = Map(
"Any" -> Set("scala", "scala.scalajs.js"),
"Any" -> Set("scala"),
"AnyVal" -> Set("scala"),
"Matchable" -> Set("scala"),
"Product" -> Set("scala"),
"Object" -> Set("java.lang", "scala.scalajs.js"),
"Object" -> Set("java.lang"),
"Comparable" -> Set("java.lang"),
"Serializable" -> Set("java.io"),
"BitSetOps" -> Set("scala.collection"),
Expand Down

0 comments on commit 74c079f

Please sign in to comment.