[SR-13232] Property wrappers: $projectedValue syntax chokes on non-ASCII characters #55672
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
parser
Area → compiler: The legacy C++ parser
property wrappers
Feature: property wrappers
Attachment: Download
Environment
Tested in Xcode 12.0 beta 2 (Swift 5.3) and Xcode 11.5 (Swift 5.2.4).
Additional Detail from JIRA
md5: dcf92c5bd51f756e2d49a1e2a2c52ace
is duplicated by:
Issue Description:
The last line of this snippet doesn't compile:
Errors:
It looks like the
$projectedValue
syntax can't handle non-ASCII characters in the identifier. I tried wrapping it in backticks like this:`$café`
or like this:$`café`
. But it still doesn't compile.Changing the variable name to
cafe
works, of course.I tried this with several identifiers with non-ASCII characters and/or emoji, always with the same result.
The text was updated successfully, but these errors were encountered: