Skip to content

Commit 8922c88

Browse files
Merge pull request #14570 from Xavientois/fix-context-base-init-warning
Fix safe-init errors in ContextBase
2 parents 361546c + 20d9b48 commit 8922c88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/core/Contexts.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -872,12 +872,12 @@ object Contexts {
872872
/** The loader that loads the members of _root_ */
873873
def rootLoader(root: TermSymbol)(using Context): SymbolLoader = platform.rootLoader(root)
874874

875-
// Set up some phases to get started */
876-
usePhases(List(SomePhase))
877-
878875
/** The standard definitions */
879876
val definitions: Definitions = new Definitions
880877

878+
// Set up some phases to get started */
879+
usePhases(List(SomePhase))
880+
881881
/** Initializes the `ContextBase` with a starting context.
882882
* This initializes the `platform` and the `definitions`.
883883
*/

0 commit comments

Comments
 (0)