[SR-13503] InsertExplicitCall fix not created for callable values #55945
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
type checker
Area → compiler: Semantic analysis
Environment
Swift version 5.3-dev (LLVM 19447e2, Swift e41a0976e0bdb09)
Target: x86_64-apple-darwin19.5.0
Additional Detail from JIRA
md5: cf7afdf3fd38fee6a0ef870bb5bd3d36
Issue Description:
In the above scenario, it is possible to call
s
(by adding()
) to produce the expected value of typeInt
. So, we should create theInsertExplicitCall
fix (or create a fix tailored for callable values) in order to emit a better diagnostic.The text was updated successfully, but these errors were encountered: