swift
ff45fec1 - [Typed throws] Handle key-path literal used with a function that has typed throws

Commit
2 years ago
[Typed throws] Handle key-path literal used with a function that has typed throws When providing a key-path literal for a parameter of function type where that function type has a generic parameter for its thrown error type, infer `Never` for the generic argument because key paths don't throw. Thanks to @xedin for realizing that this would be an issue.
Author
Committer
Parents
Loading