Skip to content

Commit 8d67319

Browse files
committed
fix: grammar
1 parent c7178e3 commit 8d67319

File tree

7 files changed

+875756
-888219
lines changed

7 files changed

+875756
-888219
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Set up Node
1010
uses: actions/setup-node@v2
1111
with:
12-
node-version: '12'
12+
node-version: '16'
1313
cache: 'npm'
1414
- name: Install dependencies
1515
run: npm install

Cargo.lock

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ module.exports = grammar({
749749

750750
type_arguments: $ => seq("<", sep1($.type_projection, ","), ">"),
751751

752-
value_arguments: $ => seq("(", optional(sep1($.value_argument, ",")), ")"),
752+
value_arguments: $ => seq("(", optional(sep1($.value_argument, ",")), optional(","), ")"),
753753

754754
value_argument: $ => seq(
755755
optional($.annotation),

package-lock.json

Lines changed: 33 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)