Introduce JSON::Coder #789
Annotations
3 errors and 1 warning
Run rake test JSON_COMPACT=1:
test/json/json_coder_test.rb#L26
FrozenError: can't modify frozen JSON::TruffleRuby::Generator::State: #<JSON::TruffleRuby::Generator::State:0x1578 ...>
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:199:in `depth='
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:516:in `json_transform'
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:510:in `to_json'
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:307:in `generate'
/home/runner/work/json/json/lib/json/common.rb:920:in `dump'
/home/runner/work/json/json/test/json/json_coder_test.rb:26:in `test_json_coder_options'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
Run rake test JSON_COMPACT=1:
test/json/json_coder_test.rb#L11
FrozenError: can't modify frozen JSON::TruffleRuby::Generator::State: #<JSON::TruffleRuby::Generator::State:0x1ae8 ...>
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:199:in `depth='
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:516:in `json_transform'
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:510:in `to_json'
/home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:307:in `generate'
/home/runner/work/json/json/lib/json/common.rb:920:in `dump'
/home/runner/work/json/json/test/json/json_coder_test.rb:11:in `test_json_coder_with_proc'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
Run rake test JSON_COMPACT=1
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading