@@ -7,7 +7,7 @@ import typer.{FrontEnd, RefChecks}
77import Phases .Phase
88import transform ._
99import dotty .tools .backend .jvm .{CollectSuperCalls , GenBCode }
10- import dotty .tools .backend . sjs
10+ import dotty .tools .backend
1111import dotty .tools .dotc .transform .localopt .StringInterpolatorOpt
1212
1313/** The central class of the dotc compiler. The job of a compiler is to create
@@ -72,7 +72,7 @@ class Compiler {
7272 List (new ElimOpaque , // Turn opaque into normal aliases
7373 new TryCatchPatterns , // Compile cases in try/catch
7474 new PatternMatcher , // Compile pattern matches
75- new ExplicitJSClasses , // Make all JS classes explicit (Scala.js only)
75+ new sjs. ExplicitJSClasses , // Make all JS classes explicit (Scala.js only)
7676 new ExplicitOuter , // Add accessors to outer classes from nested ones.
7777 new ExplicitSelf , // Make references to non-trivial self types explicit as casts
7878 new StringInterpolatorOpt , // Optimizes raw and s string interpolators by rewriting them to string concatentations
@@ -128,8 +128,8 @@ class Compiler {
128128
129129 /** Generate the output of the compilation */
130130 protected def backendPhases : List [List [Phase ]] =
131- List (new sjs.GenSJSIR ) :: // Generate .sjsir files for Scala.js (not enabled by default)
132- List (new GenBCode ) :: // Generate JVM bytecode
131+ List (new backend. sjs.GenSJSIR ) :: // Generate .sjsir files for Scala.js (not enabled by default)
132+ List (new GenBCode ) :: // Generate JVM bytecode
133133 Nil
134134
135135 var runId : Int = 1
0 commit comments