Skip to content

Fix mutation of string literals #9

@sheldonh

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

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