[SR-5793] Regression: Generic parameter 'T' is not used in function signature #48363
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.0
Environment
Xcode 9.0 (9M214v)
Apple Swift version 4.0 (swiftlang-900.0.63.10 clang-900.0.36)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 67b1c66ba2bafebf895d901eecbd66b1
Issue Description:
Swift 3.2 and later incorrectly claims that a generic parameter isn't used in the function signature if the signature uses the generic parameter's associated type.
Example:
Swift 3.1 happily accepts this. Swift 3.2 and later claims
The text was updated successfully, but these errors were encountered: