Skip to content

Commit 2166365

Browse files
committed
fix: allow .. range expressions in range patterns
1 parent bb04432 commit 2166365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ module.exports = grammar({
14071407
),
14081408
choice(
14091409
seq(
1410-
choice('...', '..='),
1410+
choice('...', '..=', '..'),
14111411
choice(
14121412
$._literal_pattern,
14131413
$._path,

0 commit comments

Comments
 (0)