File tree 2 files changed +6
-5
lines changed
compiler/src/dotty/tools/dotc
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class Compiler {
122
122
new ExpandPrivate , // Widen private definitions accessed from nested classes
123
123
new RestoreScopes , // Repair scopes rendered invalid by moving definitions in prior phases of the group
124
124
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)
126
126
new CollectSuperCalls ) :: // Find classes that are called with super
127
127
Nil
128
128
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
2
4
3
5
import scala .annotation .tailrec
4
6
5
- import dotty .tools .dotc ._
6
-
7
7
import dotty .tools .dotc .core ._
8
8
import Constants ._
9
9
import Contexts ._
@@ -19,6 +19,8 @@ import Types._
19
19
20
20
import dotty .tools .dotc .transform .MegaPhase ._
21
21
22
+ import dotty .tools .backend .sjs .JSDefinitions .jsdefn
23
+
22
24
/** Generates JUnit bootstrapper objects for Scala.js.
23
25
*
24
26
* On the JVM, JUnit uses run-time reflection to list and invoke JUnit-related
@@ -108,7 +110,6 @@ import dotty.tools.dotc.transform.MegaPhase._
108
110
class JUnitBootstrappers extends MiniPhase {
109
111
import JUnitBootstrappers ._
110
112
import ast .tpd ._
111
- import JSDefinitions .jsdefn
112
113
113
114
def phaseName : String = " junitBootstrappers"
114
115
You can’t perform that action at this time.
0 commit comments