marcel
marcel copied to clipboard
Warning in logs: "warning: literal string will be frozen in the future"
trafficstars
I am seeing the following warning when running the test suite of a Rails app.
/home/vscode/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/marcel-1.0.4/lib/marcel/magic.rb:120: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
Is this something in my code base or something in the Marcel gem? It looks like the gem is freezing all the strings so I'm not sure what to do with this warning.
@natebird see https://github.com/rails/marcel/issues/121#issuecomment-2724474392
See #123.