[SR-15053] Improve diagnostics on type errors involving arithmetic expressions #57380
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: d9ae95cc29673bbed4806ff8fa1380ca
Issue Description:
For the following test, I wish the compiler error say the actual problem:
"Cannot apply / on or between Numeric"
Breaking the expression up produce better error:
see: https://forums.swift.org/t/unhelpful-inconsistent-compiler-error/51092
The text was updated successfully, but these errors were encountered: