swift
1805f8ed - [Distributed] Harden detecting adhoc req methods, don't crash when missing protocol decls

Commit
181 days ago
[Distributed] Harden detecting adhoc req methods, don't crash when missing protocol decls This issue manifested in crashing when in Xcode one would do the Archive workflow, and we would be missing the Distributed module types and proceed to run into a nullpointer when faced with code like this: ``` public class TestViewModel { public init() {} public func onReturn() { print("on return executed!") } } ``` where the name matched one of the ad hoc requirements, but we'd get null for the protocol lookup since this does not import the distributed module. resolves rdar://148327936
Author
Committer
Parents
Loading