[openstreetmap/openstreetmap-website] Add frozen_string_literal comments to ruby files (PR #5932)
Andy Allan
notifications at github.com
Tue Apr 15 10:19:37 UTC 2025
gravitystorm left a comment (openstreetmap/openstreetmap-website#5932)
>From https://bugs.ruby-lang.org/issues/20205
> And any application for which all dependencies have been made fully frozen string literal compatible can set RUBYOPT="--enable=frozen_string_literal" and start immediately removing magic comment from their codebase.
Instead of adding the comment to every file (and then removing them all again in ruby 4) could we add the RUBYOPT to CI? That way CI would fail if any string mutation is added in future PRs.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5932#issuecomment-2804563642
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5932/c2804563642 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250415/6eaa9d6b/attachment.htm>
More information about the rails-dev
mailing list