[SR-8512] Poor error messages for use of ternary without space before '?' #51032
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
parser
Area → compiler: The legacy C++ parser
Additional Detail from JIRA
md5: 87b882ed51323b93d22c2281c2236ec7
Issue Description:
It'd be nice if there was fewer of the follow on errors.
(Also, the behaviour is somewhat inconsistent:
true ?1:0
works fine, unlike other operators like1 +0
.)The text was updated successfully, but these errors were encountered: