mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We were failing to find init() decls whenever there was more than one candidate. The mangled function type we get will be (args...) -> T, but the real thing is (T.Type) -> (args...) -> T. Strip the metatype so we can match successfully.