[SR-14340] Compiler should suggest optional chaining when trying to call optional closure #56699
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
improvement
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 76f3c7f5dfc3f0e5a6c3673c142b65e4
Issue Description:
Today, this code generates two fixits:
It would be nice if it suggested optional chaining, just like for accessing properties, because not everyone may be aware that you can write `test?()`
The text was updated successfully, but these errors were encountered: