[SR-9760] Can't add @escaping to an argument of generic function having typealiased function type #52188
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 5.0
Environment
Xcode 10.2 beta (10P82s)
Apple Swift version 5.0 (swiftlang-1001.0.45.7 clang-1001.0.37.7)
Target: x86_64-apple-darwin18.2.0
ABI version: 0.6
Additional Detail from JIRA
md5: d7be05a7d980928bf2303b1dee8fe3ed
is duplicated by:
Issue Description:
This code snippet doesn't compile in Swift 5:
It compiles if function isn't generic though.
The text was updated successfully, but these errors were encountered: