GeezerVison is showing github.com — fix: bind map shorthand syntax by Seddryck · Pull Request #62 · Seddryck/Expressif.Syntax
Conversation
Seddryck
commented
Aug 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- parse standalone map shorthand as an
open_expression
- represent
MapShorthandSyntax as an ExpressionSyntax pipeline operation
- preserve the authored
|> form and expose its nested mapped OpenExpressionSyntax
- keep closed-expression map shorthand boundaries intact
- test root kind, syntax kind, children, source text, spans, arguments, and pipeline composition
Root cause
The grammar exposed standalone map_shorthand directly as a root expression. That prevented ExpressifSyntax.Parse("|> add(1)") from returning the expected outer OpenExpressionSyntax and initially left the C# binder without a valid typed path.
Validation
dotnet test bindings/csharp/Expressif.Syntax.Tests/Expressif.Syntax.Tests.csproj --no-restore --disable-build-servers --nologo -m:1 — 85/85 passed on net8.0, net9.0, and net10.0
npm run generate — passed
npx tree-sitter test — all 8 map-shorthand cases passed; 6 unrelated existing snapshots differ only by CRLF/LF behavior on Windows
Closes #59
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Aug 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review available on request
Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: ee7aebef-4fbb-4549-a218-55ef19a20e54
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 18, 2026
This was referenced Aug 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.