You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't dived into the scalac implementation details, but looks like Lu and Ll categories are parsed as part of op & opchar rule, not lower or upper rule
Reminder to self, check out the caret in messaging.
+newSource1.scala:24: error: illegal start of simple pattern
+ val a_𝓅 = 1
+ ^
Edit: I think it was due to a bug about consuming chars. I didn't look too closely, and also I didn't create tests around error printing. My vim doesn't do a great job with supple chars, though it did display a wide cursor, also I don't have all the char sets installed, apparently.
unkarjedy
changed the title
supplementary unicode characters from Ll and Lo categories are not parsed as identifier together with _
supplementary unicode characters from Ll and Lu categories are not parsed as identifier together with _Nov 6, 2021
Scala 2.13.7
According to the spec https://www.scala-lang.org/files/archive/spec/2.13/13-syntax-summary.html
all these should be parsed (except commented OK compiler error).
Scala 2.13.7 compiler produces errors where I placed the comments.
All false compiler errros are OK Java identifiers:
relates to:
#12482
#1406
scala/scala#9687
The text was updated successfully, but these errors were encountered: