mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
A non-throwing function can be a trivial subtype of a throwing function. Encode this rule more directly, introduce some additional tests to ensure that we get the behavior right where we need exact matches, and add a failure kind with custom diagnostic for cases where function types mismatch due to 'throws'. Swift SVN r27255
161 KiB
161 KiB