We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 551027e commit 341a116Copy full SHA for 341a116
1 file changed
packages/compiler/src/ml_parser/lexer.ts
@@ -407,8 +407,13 @@ class _Tokenizer {
407
let allowDigit = false;
408
409
this._attemptCharCodeUntilFn((code) => {
410
- // `@let` names can't start with a digit, but digits are valid anywhere else in the name.
411
- if (chars.isAsciiLetter(code) || code === chars.$_ || (allowDigit && chars.isDigit(code))) {
+ if (
+ chars.isAsciiLetter(code) ||
412
+ code == chars.$$ ||
413
+ code === chars.$_ ||
414
+ // `@let` names can't start with a digit, but digits are valid anywhere else in the name.
415
+ (allowDigit && chars.isDigit(code))
416
+ ) {
417
allowDigit = true;
418
return false;
419
}
0 commit comments