File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ object CompilationUnit {
131131 unit1
132132 }
133133
134- /** Create a compilation unit corresponding to an in-memory String.
134+ /** Create a compilation unit corresponding to an in-memory String.
135135 * Used for `compiletime.testing.typeChecks`.
136136 */
137137 def apply (name : String , source : String )(using Context ): CompilationUnit = {
138138 val src = SourceFile .virtual(name = name, content = source, maybeIncomplete = false )
139- new CompilationUnit (src, null )
139+ new CompilationUnit (src)
140140 }
141141
142142 /** Create a compilation unit corresponding to `source`.
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ object Phases {
210210 private var myPostTyperPhase : Phase = _
211211 private var mySbtExtractDependenciesPhase : Phase = _
212212 private var myPicklerPhase : Phase = _
213- private var mySetRootTreePhase : Phase = uninitialized
213+ private var mySetRootTreePhase : Phase = _
214214 private var myInliningPhase : Phase = _
215215 private var myStagingPhase : Phase = _
216216 private var mySplicingPhase : Phase = _
You can’t perform that action at this time.
0 commit comments