whitequark / parser

A Ruby parser.
Other
1.59k stars 198 forks source link

Suppress Ruby 3.4's warning #1028

Closed koic closed 3 months ago

koic commented 3 months ago

Starting with Ruby 3.4, there is a gradual plan to freeze strings: https://bugs.ruby-lang.org/issues/20205#note-35

This PR suppresses the following Ruby 3.4's warning:

/Users/koic/.rbenv/versions/3.4-dev/lib/ruby/gems/3.4.0+0/gems/parser-3.3.4.0/lib/parser/source/buffer.rb:97:
warning: literal string will be frozen in the future
iliabylich commented 3 months ago

Thanks!