Skip to content

Commit ee29c37

Browse files
committed
Disable the undefOr2ops import
It takes precedence over other implicit conversions like scala.scalajs.js.ArrayOps and therefore breaks stuff
1 parent 20b6c03 commit ee29c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ class Definitions {
13671367
else if !ctx.settings.scalajs.value then
13681368
ScalaImportFns :+ PredefImportFns
13691369
else
1370-
ScalaImportFns :+ PredefImportFns :+ ScalaJsRootImportFn
1370+
ScalaImportFns :+ PredefImportFns// :+ ScalaJsRootImportFn
13711371

13721372
@tu private lazy val JavaRootImportTypes: List[TermRef] = JavaRootImportFns.map(_.refFn())
13731373
@tu private lazy val ScalaRootImportTypes: List[TermRef] = ScalaRootImportFns.map(_.refFn())

0 commit comments

Comments
 (0)