fixed resolve method

This commit is contained in:
Sergey Penkovsky
2021-04-21 08:25:55 +03:00
parent b2b66bdcfd
commit c9ddc2ffa8
2 changed files with 16 additions and 7 deletions

View File

@@ -83,6 +83,6 @@ class Scope {
}
// 2 Поиск зависимостей в родительском скоупе
return _parentScope != null ? _parentScope!.tryResolve() : null;
return _parentScope != null ? _parentScope!.tryResolve(named: named) : null;
}
}