@@ -39,7 +39,7 @@ class Run(comp: Compiler, ictx: Context) extends ImplicitRunInfo with Constraint
39
39
* for type checking.
40
40
* imports For each element of RootImports, an import context
41
41
*/
42
- protected [ this ] def rootContext (implicit ctx : Context ): Context = {
42
+ protected def rootContext (implicit ctx : Context ): Context = {
43
43
ctx.initialize()(ctx)
44
44
ctx.base.setPhasePlan(comp.phases)
45
45
val rootScope = new MutableScope
@@ -59,19 +59,19 @@ class Run(comp: Compiler, ictx: Context) extends ImplicitRunInfo with Constraint
59
59
defn.RootImportFns .foldLeft(start.setRun(this ))(addImport)
60
60
}
61
61
62
- private [ this ] var compiling = false
62
+ private var compiling = false
63
63
64
- private [ this ] var myCtx = rootContext(ictx)
64
+ private var myCtx = rootContext(ictx)
65
65
66
66
/** The context created for this run */
67
67
def runContext : Context = myCtx
68
68
69
- protected [ this ] implicit def ctx : Context = myCtx
69
+ protected implicit def ctx : Context = myCtx
70
70
assert(ctx.runId <= Periods .MaxPossibleRunId )
71
71
72
- private [ this ] var myUnits : List [CompilationUnit ] = _
73
- private [ this ] var myUnitsCached : List [CompilationUnit ] = _
74
- private [ this ] var myFiles : Set [AbstractFile ] = _
72
+ private var myUnits : List [CompilationUnit ] = _
73
+ private var myUnitsCached : List [CompilationUnit ] = _
74
+ private var myFiles : Set [AbstractFile ] = _
75
75
76
76
/** The compilation units currently being compiled, this may return different
77
77
* results over time.
@@ -94,10 +94,10 @@ class Run(comp: Compiler, ictx: Context) extends ImplicitRunInfo with Constraint
94
94
}
95
95
96
96
/** The source files of all late entered symbols, as a set */
97
- private [ this ] var lateFiles = mutable.Set [AbstractFile ]()
97
+ private var lateFiles = mutable.Set [AbstractFile ]()
98
98
99
99
/** Actions that need to be performed at the end of the current compilation run */
100
- private [ this ] var finalizeActions = mutable.ListBuffer [() => Unit ]()
100
+ private var finalizeActions = mutable.ListBuffer [() => Unit ]()
101
101
102
102
def compile (fileNames : List [String ]): Unit = try {
103
103
val sources = fileNames.map(ctx.getSource(_))
0 commit comments