fix: provide_root_context on root scopes

This commit is contained in:
Jonathan Kelley committed 2022-01-24 02:34:16 -05:00
1 parent 02abb5e8d4
commit d9a07ddddb
1 file changed
+1
+1
View File
@@ -695,6 +695,7 @@ impl ScopeState {
.insert(TypeId::of::<T>(), value.clone())
.map(|f| f.downcast::<T>().ok())
.flatten();
return value;
}
let mut search_parent = self.parent_scope;