Skip to content

Extract helper methods for formatter string interpolation - #16720

Merged
straight-shoota merged 3 commits into
crystal-lang:masterfrom
straight-shoota:refactor/formatter-string_interpolation
Mar 17, 2026
Merged

straight-shoota merged 3 commits into
crystal-lang:masterfrom
straight-shoota:refactor/formatter-string_interpolation

Conversation

@straight-shoota

Copy link
Copy Markdown
Member

This is a plain refactoring to extract behaviour into helper methods. It helps structure the code and prepares for reusing these helpers to implement interpolation for string array literals (RFC 0021).

@straight-shoota straight-shoota added this to the 1.20.0 milestone Mar 16, 2026
@straight-shoota
straight-shoota merged commit a831012 into crystal-lang:master Mar 17, 2026
47 of 48 checks passed
@straight-shoota
straight-shoota deleted the refactor/formatter-string_interpolation branch March 17, 2026 10:31
straight-shoota added a commit that referenced this pull request Mar 19, 2026
…16747)

Continuation of #16720, but extracted into a separate commit for a cleaner diff because of overlap.

This is a plain refactoring to extract behaviour into helper methods. It helps structure the code and prepares for reusing these helpers to implement interpolation for string array literals ([RFC 0021](crystal-lang/rfcs#21)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants