Skip to content

Commit df6b9ec

Browse files
committed
Fix construction
1 parent 48409b7 commit df6b9ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ object Contexts:
6060
private val (notNullInfosLoc, store8) = store7.newLocation[List[NotNullInfo]]()
6161
private val (importInfoLoc, store9) = store8.newLocation[ImportInfo | Null]()
6262
private val (typeAssignerLoc, store10) = store9.newLocation[TypeAssigner](TypeAssigner)
63-
private val (usagesLoc, store11) = store10.newLocation[Usages](Usages())
63+
private val (usagesLoc, store11) = store10.newLocation[Usages]()
6464

6565
private val initialStore = store11
6666

@@ -837,6 +837,7 @@ object Contexts:
837837
store = initialStore
838838
.updated(settingsStateLoc, settingsGroup.defaultState)
839839
.updated(notNullInfosLoc, Nil)
840+
.updated(usagesLoc, Usages())
840841
.updated(compilationUnitLoc, NoCompilationUnit)
841842
searchHistory = new SearchRoot
842843
gadt = EmptyGadtConstraint

0 commit comments

Comments
 (0)