Skip to content

Commit 8165a04

Browse files
committed
feat: resolve pipe (->) operator precendence
1 parent bb2d37c commit 8165a04

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
@@ -35,6 +35,7 @@ module.exports = grammar({
3535
'call',
3636
$.spread_element,
3737
$.await_expression,
38+
$.pipe_expression,
3839
'binary_times',
3940
'binary_pow',
4041
'binary_plus',
@@ -63,7 +64,6 @@ module.exports = grammar({
6364

6465
conflicts: $ => [
6566
[$.unit, $.formal_parameters],
66-
[$.pipe_expression, $.expression],
6767
[$.primary_expression, $._pattern],
6868
[$.primary_expression, $.record_pattern],
6969
[$.primary_expression, $.spread_pattern],

0 commit comments

Comments
 (0)