Skip to content

Conversation

@aspeddro
Copy link
Collaborator

@aspeddro aspeddro commented Nov 20, 2022

Close #178

Comment on lines 748 to +751
pipe_expression: $ => prec.left(seq(
$.primary_expression,
$.expression,
choice('->', '|>'),
choice(
$.value_identifier,
$.value_identifier_path,
$.variant_identifier,
$.polyvar_identifier,
$.nested_variant_identifier,
$.parenthesized_expression,
$.block,
),
$.expression,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes pipe_expression rule equal to binary_expression, We can do a simplification here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #177

@aspeddro aspeddro closed this Nov 29, 2022
@aspeddro aspeddro deleted the fix-pipe-lhs branch December 4, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: block on lhs of pipe_expression

1 participant