Skip to content

Commit 74c079f

Browse files
committed
Drop js Any and Object from transparent classes
They give test failures, and I don't know enough about the js class hierarchy to be able to fix them with confidence.
1 parent 6fd96ed commit 74c079f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,11 +1831,11 @@ class Definitions {
18311831
// add these for now, until we had a chance to retrofit 2.13 stdlib
18321832
// we should do a more through sweep through it then.
18331833
val strs = Map(
1834-
"Any" -> Set("scala", "scala.scalajs.js"),
1834+
"Any" -> Set("scala"),
18351835
"AnyVal" -> Set("scala"),
18361836
"Matchable" -> Set("scala"),
18371837
"Product" -> Set("scala"),
1838-
"Object" -> Set("java.lang", "scala.scalajs.js"),
1838+
"Object" -> Set("java.lang"),
18391839
"Comparable" -> Set("java.lang"),
18401840
"Serializable" -> Set("java.io"),
18411841
"BitSetOps" -> Set("scala.collection"),

0 commit comments

Comments
 (0)