Skip to content

Commit 855f760

Browse files
authored
Merge pull request #196 from apple/fix-incompat
Add default implementation so that existing AsyncFXKeys still work
2 parents 4866c2c + 4953c67 commit 855f760

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/llbuild2fx/Key.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ extension AsyncFXKey {
240240
try await fixCached(value: value, fi, ctx)
241241
}
242242
}
243+
244+
public func fixCached(value: ValueType, _ fi: FXFunctionInterface<Self>, _ ctx: Context) async throws -> ValueType? {
245+
return nil
246+
}
243247
}
244248

245249
extension FXFunctionInterface {

0 commit comments

Comments
 (0)