Skip to content

Bump ast_transform to 3.1.1 and drop the heredoc-emission workaround - #88

Merged
JPDuchesne merged 1 commit into
mainfrom
jpd/ast-transform-3.1.1
Aug 3, 2026
Merged

Bump ast_transform to 3.1.1 and drop the heredoc-emission workaround#88
JPDuchesne merged 1 commit into
mainfrom
jpd/ast-transform-3.1.1

Conversation

@JPDuchesne

Copy link
Copy Markdown
Contributor

Summary

  • Bumps ast_transform 3.0.0 → 3.1.1, which carries the ast-transform#16 fix (ast-transform#17): heredoc-form renders are line-terminal, so the transform no longer packs statements onto heredoc terminators.
  • Reverts the workaround in write_fake_ruby: the exit-code ternary moves back inside the heredoc interpolation, its natural home.
  • Regenerated the tapioca RBI for the new gem version.

Test plan

  • Full suite (786 tests), rubocop, srb tc green with the natural heredoc form

Made with Cursor

ast-transform#17 made heredoc-form renders line-terminal, so
write_fake_ruby's exit-code ternary can live inside the heredoc
interpolation again (the hoist was the ast-transform#16 workaround).

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@JPDuchesne
JPDuchesne merged commit b4526ea into main Aug 3, 2026
5 checks passed
@JPDuchesne
JPDuchesne deleted the jpd/ast-transform-3.1.1 branch August 3, 2026 15:41
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