File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class Compiler {
122122 new ExpandPrivate , // Widen private definitions accessed from nested classes
123123 new RestoreScopes , // Repair scopes rendered invalid by moving definitions in prior phases of the group
124124 new SelectStatic , // get rid of selects that would be compiled into GetStatic
125- new backend. sjs.JUnitBootstrappers , // Generate JUnit-specific bootstrapper classes for Scala.js (not enabled by default)
125+ new sjs.JUnitBootstrappers , // Generate JUnit-specific bootstrapper classes for Scala.js (not enabled by default)
126126 new CollectSuperCalls ) :: // Find classes that are called with super
127127 Nil
128128
Original file line number Diff line number Diff line change 1- package dotty .tools .backend .sjs
1+ package dotty .tools .dotc
2+ package transform
3+ package sjs
24
35import scala .annotation .tailrec
46
5- import dotty .tools .dotc ._
6-
77import dotty .tools .dotc .core ._
88import Constants ._
99import Contexts ._
@@ -19,6 +19,8 @@ import Types._
1919
2020import dotty .tools .dotc .transform .MegaPhase ._
2121
22+ import dotty .tools .backend .sjs .JSDefinitions .jsdefn
23+
2224/** Generates JUnit bootstrapper objects for Scala.js.
2325 *
2426 * On the JVM, JUnit uses run-time reflection to list and invoke JUnit-related
@@ -108,7 +110,6 @@ import dotty.tools.dotc.transform.MegaPhase._
108110class JUnitBootstrappers extends MiniPhase {
109111 import JUnitBootstrappers ._
110112 import ast .tpd ._
111- import JSDefinitions .jsdefn
112113
113114 def phaseName : String = " junitBootstrappers"
114115
You can’t perform that action at this time.
0 commit comments