[SR-12382] Poor diagnostic for type mismatch in pointer conversion to double optional #54818
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
good first issue
Good for newcomers
type checker
Area → compiler: Semantic analysis
Environment
Swift version 5.3-dev (LLVM 0704986, Swift cd7bc73)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: 35cd3e6ba09c9ee8447375f1e5f2a45c
Issue Description:
The following produces an unhelpful diagnostic:
We should instead point out that there's a type mismatch between Int and Double.
The text was updated successfully, but these errors were encountered: