[SR-13135] Type inference regression in Swift 5.3/Xcode 12 Beta #55581
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Xcode 12 Beta 1/macOS Catalina 10.15.5 (19F101)
Additional Detail from JIRA
md5: de79c846cf09afec4f64b77b416ac261
Issue Description:
Consider this code sample:
It runs perfectly fine in Xcode 11.5 playground, while Xcode 12 Beta 1 outputs the following error:
Please note that @autoclosure attribute for foo's parameters is a required precondition for this issue.
The text was updated successfully, but these errors were encountered: