Skip to content

Commit b17046b

Browse files
committed
Fix OGSubgraph apply implementation
1 parent dd6cacb commit b17046b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/OpenGraph/Graph/OGSubgraph.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ extension OGSubgraph {
2020
OGSubgraph.current = current
2121
OGGraph.setUpdate(update)
2222
}
23+
OGSubgraph.current = self
2324
return body()
2425
#else
2526
fatalError("upstream SIL Compiler assert issue")

0 commit comments

Comments
 (0)