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
opchar ::= ‘!’ | ‘#’ | ‘%’ | ‘&’ | ‘*’ | ‘+’ | ‘-’ | ‘/’ | ‘:’ |
‘<’ | ‘=’ | ‘>’ | ‘?’ | ‘@’ | ‘\’ | ‘^’ | ‘|’ | ‘~’
and any character in Unicode categories Sm or So
...
op ::= opchar {opchar}
plainid ::= ... | op
id ::= plainid | ...
...
interpolatedStringPart ::= printableChar \ (‘"’ | ‘$’ | ‘\’) | escape
escape ::= ... | ‘\$’ id | ...
Example code
//noinspection TypeAnnotation,NotImplementedCodeclassWrapper2 {
val⚕=1// category: So otherval∀=1// category: Sm mathval𝓅=1// category: Ll math (suppl)val𐐀=1// category: Lu (suppl)s"$⚕" // bad s"$⨀" // bad s"$𝓅" // ok s"$𐐀" // ok}
Expected
No compilation errors due to spec ^
Actual
invalid string interpolation $⨀, expected: $$, $", $identifier or ${expression}
invalid string interpolation $⚕, expected: $$, $", $identifier or ${expression}