[SR-3632] Swift is unable to properly infer the type of closures with inout parameters without specific type information. #46217
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
Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 756f65893b77be61ba04a965d87e427b
duplicates:
Issue Description:
A function that takes a closure that has an inout parameter requires explicit type info before it can be used. The lack of any explicit type info causes the compiler to fail in two distinct ways.
The text was updated successfully, but these errors were encountered: