Skip to content

style: use unquoted :..// atom in ir_gen.ex for Elixir 1.18 formatter#120

Open
yevbar wants to merge 1 commit into
masterfrom
bashful/fix-ir-gen-formatting
Open

style: use unquoted :..// atom in ir_gen.ex for Elixir 1.18 formatter#120
yevbar wants to merge 1 commit into
masterfrom
bashful/fix-ir-gen-formatting

Conversation

@yevbar

@yevbar yevbar commented Mar 1, 2026

Copy link
Copy Markdown
Contributor

Problem

CI format check fails on master because Elixir 1.18's formatter prefers unquoted {:..//, ...} over quoted {:"..//", ...} for the step range operator atom.

Fix

Replace all 22 occurrences of :"..//" with :..\/\/ in lib/firebird/compiler/ir_gen.ex, and adjust one multi-line pattern to single-line to match the 1.18 formatter output.

All 9,427 tests pass locally.

The Elixir 1.18 formatter prefers {:..//, ...} over {:"..//", ...}.
CI runs format checks with Elixir 1.18, so this fixes the CI failure.
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