Skip to content

Don't emit deprecation warnings in State#to_h in TruffleRuby#900

Merged
byroot merged 1 commit into
ruby:masterfrom
etiennebarrie:truffleruby-deprecation-warnings
Nov 22, 2025
Merged

Don't emit deprecation warnings in State#to_h in TruffleRuby#900
byroot merged 1 commit into
ruby:masterfrom
etiennebarrie:truffleruby-deprecation-warnings

Conversation

@etiennebarrie

Copy link
Copy Markdown
Contributor
$ ruby -Ilib -rjson -W:deprecated -e JSON::State.new.to_h |& uniq -c
  13 -e:1: warning: JSON::State#[] is deprecated and will be removed in json 3.0.0

	$ ruby -Ilib -rjson -W:deprecated -e JSON::State.new.to_h |& uniq -c
	  13 -e:1: warning: JSON::State#[] is deprecated and will be removed in json 3.0.0
@byroot byroot merged commit 3b473ff into ruby:master Nov 22, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants