Skip to content

Commit c1a6624

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 8ff2615 commit c1a6624

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
@@ -1765,11 +1765,11 @@ class Definitions {
17651765
// add these for now, until we had a chance to retrofit 2.13 stdlib
17661766
// we should do a more through sweep through it then.
17671767
val strs = Map(
1768-
"Any" -> Set("scala", "scala.scalajs.js"),
1768+
"Any" -> Set("scala"),
17691769
"AnyVal" -> Set("scala"),
17701770
"Matchable" -> Set("scala"),
17711771
"Product" -> Set("scala"),
1772-
"Object" -> Set("java.lang", "scala.scalajs.js"),
1772+
"Object" -> Set("java.lang"),
17731773
"Comparable" -> Set("java.lang"),
17741774
"Serializable" -> Set("java.io"),
17751775
"BitSetOps" -> Set("scala.collection"),

0 commit comments

Comments
 (0)