[Bug #22002] Never pop when compiling branch predicate
The value is always needed. Now prism emits the same instructions as parse.y for the added test case.
defined?/flip-flop caused argument stack underflow, and/or segfaulted during runtime.
defined?
flip-flop
argument stack underflow
and
or
[ruby/rubygems] Fix Style/HashSyntax offenses in definition_spec.rb
https://github.com/ruby/rubygems/commit/97d05b3fc5
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
[ruby/rubygems] Remove extra guard conditions to preserve existing behavior
The original PR added @remote and aggregate_global_source? checks to precompute_source_requirements_for_indirect_dependencies?, but these conditions did not exist in the current codebase and would change the...
[ruby/rubygems] Print a warning for a potential confusion from the indirect dependencies.
Print a warning when a confusion by the indirect dependencies may happen. See CVE-2020-36327 for the security risk.
https://github.com/ruby/rubygems/commit/403d6744b2
Update bundled gems list as of 2026-04-15
[ruby/json] Fix parsing of negative out of bound floats.
https://github.com/ruby/json/commit/1072482184
[ruby/json] Fix handling out of of range exponent in numbers
Fix: https://github.com/ruby/json/issues/970
If the parsed exponent overflows a int32_t passing it to ryu is incorrect.
int32_t
We could pass it to rb_cstr_to_dbl but then Ruby will emit an annoying warning, instead we can coerce to 0.0 and Inf....
rb_cstr_to_dbl
0.0
Inf
Constify pack functions
Bump the github-actions group across 1 directory with 2 updates
Bumps the github-actions group with 2 updates in the / directory: lewagon/wait-on-check-action and taiki-e/install-action....
ZJIT: Add HIR tests and benchmarks for numeric predicate annotations
Add snapshot tests verifying correct HIR generation for each annotated method:
View all revisions | View revisions
Also available in: Atom