Skip to content

Commit 5dae17e

Browse files
committed
fix: allow more patterns in paramater
1 parent 0234042 commit 5dae17e

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
@@ -115,7 +115,7 @@ module.exports = grammar({
115115
),
116116

117117
para: $ => seq(
118-
field('pat', $.pat_ident),
118+
field('pat', $._pattern),
119119
optional(seq(
120120
':',
121121
field('ty', $._type),

0 commit comments

Comments
 (0)