[SR-6443] SourceKit returns wrong case statement key length when string interpolation is used #48993
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Additional Detail from JIRA
md5: bbe4643af19284a5306a637123bde4ce
Issue Description:
The length of `source.lang.swift.stmt.case` returned wrong when it has string interpolation.
Here is example with using true/false as interpolated value, but results will be wrong for any other value.
spaces after interpolation are not counted:
any other character after interpolation are counted, but results are still wrong
string interpolation followed by unicode:
unicode before string interpolation:
Reference: jpsim/SourceKitten#444 (comment)
The text was updated successfully, but these errors were encountered: