Skip to content

Commit

Permalink
type disambiguation for swift 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-chipeev committed Oct 15, 2022
1 parent 41d9d07 commit e3edc24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Container.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ extension Container: _Resolver {
)

if let entry = getEntry(for: key) {
let factory = { [weak self] (graphIdentifier: GraphIdentifier?) in
let action = { [weak self] in
let factory = { [weak self] (graphIdentifier: GraphIdentifier?) -> Any? in
let action = { [weak self] () -> Any? in
if let graphIdentifier = graphIdentifier {
self?.restoreObjectGraph(graphIdentifier)
}
Expand Down

0 comments on commit e3edc24

Please sign in to comment.