We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed25ce commit dba8f43Copy full SHA for dba8f43
compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala
@@ -42,7 +42,6 @@ import org.scalajs.ir.Trees.OptimizerHints
42
import dotty.tools.dotc.transform.sjs.JSSymUtils._
43
44
import JSEncoding._
45
-import JSInterop._
46
import ScopedVar.withScopedVars
47
48
/** Main codegen for Scala.js IR.
@@ -526,7 +525,7 @@ class JSCodeGen()(using genCtx: Context) {
526
525
/* We add symbols that we have to expose here. This way we also
527
* get inherited stuff that is implemented in this class.
528
*/
529
- dispatchMethodNames += jsNameOf(sym)
+ dispatchMethodNames += sym.jsName
530
}
531
532
compiler/src/dotty/tools/backend/sjs/JSInterop.scala
0 commit comments