mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Assuming that we don't typecheck a deserialized module, we don't actually need the ExplicitCompletionHandlerIndex. We used this flag to determine whether we could trust the number stored in the handler index or just take the last parameter of the function we're attached to. Since we only typecheck it before serialization, we can safely check that the completion handler location is valid before choosing whether we should trust it or not.
215 KiB
215 KiB