Skip to content

Fix mutation of string literals #9

Description

@sheldonh

Ruby 3.4.5:

bin/rake test
...
./home/sheldonh/git/json-stream/lib/json/stream/parser.rb:187: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/home/sheldonh/git/json-stream/lib/json/stream/parser.rb:555: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/home/sheldonh/git/json-stream/lib/json/stream/parser.rb:187: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/home/sheldonh/git/json-stream/lib/json/stream/parser.rb:187: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.

Finished in 0.025354s, 5916.2034 runs/s, 10294.1939 assertions/s.

150 runs, 261 assertions, 0 failures, 0 errors, 0 skips

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions