[SR-1793] Type inference does not work with autoclosure #44402
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 8.0 beta (8S128d) Playgrounds (Happens at least since Swift 2.0)
Additional Detail from JIRA
md5: a6cf52ed16f45c857930e752fd76c7b6
is duplicated by:
Issue Description:
General Swift cannot infer autoclosure when you apply a high order function, i.e.
Gives the error "Ambiguous reference to member '||'"
Expected results: Code compiles and works fine.
The text was updated successfully, but these errors were encountered: