Skip to content

Commit dba8f43

Browse files
committed
Remove the last occurrence of the legacy JSInterop internal API.
Now, everything goes through the extension methods in JSSymUtils.
1 parent 1ed25ce commit dba8f43

File tree

2 files changed

+1
-76
lines changed

2 files changed

+1
-76
lines changed

compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import org.scalajs.ir.Trees.OptimizerHints
4242
import dotty.tools.dotc.transform.sjs.JSSymUtils._
4343

4444
import JSEncoding._
45-
import JSInterop._
4645
import ScopedVar.withScopedVars
4746

4847
/** Main codegen for Scala.js IR.
@@ -526,7 +525,7 @@ class JSCodeGen()(using genCtx: Context) {
526525
/* We add symbols that we have to expose here. This way we also
527526
* get inherited stuff that is implemented in this class.
528527
*/
529-
dispatchMethodNames += jsNameOf(sym)
528+
dispatchMethodNames += sym.jsName
530529
}
531530
}
532531

compiler/src/dotty/tools/backend/sjs/JSInterop.scala

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)