Fix ScopedKey type: use Def.ScopedKey to resolve compiler error

This commit is contained in:
bitloi 2026-02-09 16:44:34 +01:00
parent 71b3cb050b
commit da3b0deb5f
1 changed files with 2 additions and 2 deletions

View File

@ -242,11 +242,11 @@ object ScopeFilter {
.toMap
new Data(units, resolve, new AllScopes(scopes, grouped))
def expandDynamicDeps(deps: Seq[Any], structure: BuildStructure): Set[ScopedKey[?]] =
def expandDynamicDeps(deps: Seq[Any], structure: BuildStructure): Set[Def.ScopedKey[?]] =
if deps.isEmpty then Set.empty
else
val data = dataFromStructure(structure)
val result = scala.collection.mutable.Set.empty[ScopedKey[?]]
val result = scala.collection.mutable.Set.empty[Def.ScopedKey[?]]
for dep <- deps do
dep match
case (key: AttributeKey[?], filter: ScopeFilter) =>