Skip to content

fix: avoid toggle pipe style formatter panic#137

Merged
mattiamanzati merged 1 commit intomainfrom
fix-toggle-pipe-style-panic
Apr 4, 2026
Merged

fix: avoid toggle pipe style formatter panic#137
mattiamanzati merged 1 commit intomainfrom
fix-toggle-pipe-style-panic

Conversation

@mattiamanzati
Copy link
Copy Markdown
Contributor

Summary

  • switch togglePipeStyle to text-based rewrites so code actions avoid formatter panics on nested callback bodies
  • add a regression fixture for the sql\...`.pipe(Effect.flatMap((rows) => { ... }))` shape that reproduced the crash
  • update the affected v3/v4 refactor baselines and add a patch changeset

@mattiamanzati mattiamanzati merged commit 41798ca into main Apr 4, 2026
4 checks passed
@mattiamanzati mattiamanzati deleted the fix-toggle-pipe-style-panic branch April 4, 2026 17:50
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