mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously we were using `getPlainType` to match the parameter type against the key path's base type. This gave us the external parameter type, which would be the element type for a variadic parameter. However the code we generate expects the internal parameter type, which is provided by `getParameterType`. Resolves rdar://problem/59445486.
371 KiB
371 KiB