Skip to content

🐛 fix(cst): support pipeline expressions as function arguments#1866

Merged
harehare merged 1 commit into
mainfrom
fix/cst-parser-implicit-pipeline-arg
Jun 15, 2026
Merged

🐛 fix(cst): support pipeline expressions as function arguments#1866
harehare merged 1 commit into
mainfrom
fix/cst-parser-implicit-pipeline-arg

Conversation

@harehare

Copy link
Copy Markdown
Owner

No description provided.

Add `parse_implicit_pipeline` to allow `foo(a | b)` as shorthand for
`foo(do a | b end)`. When a `|` token follows a function argument
expression, collect remaining pipeline steps and wrap them in an
implicit `Block` node without requiring explicit `do`/`end` tokens.
@codspeed-hq

codspeed-hq Bot commented Jun 15, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing fix/cst-parser-implicit-pipeline-arg (292427f) with main (6538287)

Open in CodSpeed

@harehare harehare merged commit 252cc99 into main Jun 15, 2026
11 checks passed
@harehare harehare deleted the fix/cst-parser-implicit-pipeline-arg branch June 15, 2026 12:13
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.

1 participant