Skip to content

Improve support for Unicode supplementary characters in identifiers and string interpolation (as in Scala 2) #16271

Closed
@som-snytt

Description

@som-snytt

Minimized code

Welcome to Scala 3.2.0 (19, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.

scala> val Trying to highlight erroneous position <7..7>. Input size: 6
😈 = 42
-- Error: --------------------------------------------------------------------------------------------------------------
1 |val 😈 = 42
  |    ^
  |    illegal character '\ud83d\ude08'

scala>

Shotput

Gave it a shot.

Expectation

https://twitter.com/SethTisue/status/1587184657141039110

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions