Skip to content

[pull] master from ruby:master - #1262

Merged
pull[bot] merged 7 commits into
turkdevops:masterfrom
ruby:master
Jul 31, 2026
Merged

[pull] master from ruby:master#1262
pull[bot] merged 7 commits into
turkdevops:masterfrom
ruby:master

Conversation

@pull

@pull pull Bot commented Jul 31, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

peterzhu2118 and others added 7 commits July 30, 2026 14:53
So code in documentation are tested.
This global cache was unsynchronized and across Ractors that is racy and
leads to undefined behavior. The repro code included as a regression test
was crashing with SEGV or producing bad results from bignum#to_s before this
fix.
#17467)

A monomorphic-specialized call site (warmed up with class A) must still
return correct results when a second class B with its own ISEQ method of
the same name flows through it. The receiver type guard should send the B
receiver to the side exit rather than dispatching to A#foo.

This side-exit-on-unexpected-class behavior was not covered by an existing
test. Distinct return values (1 vs 2) make a broken guard observable.
- Codegen tests for `ArrayMin` (mirroring the existing `ArrayMax` ones)
- HIR opt tests asserting that `ArrayMax` / `ArrayMin` are emitted
- An Array#min redefinition test mirroring `test_dont_optimize_array_max_if_redefined`
@pull pull Bot locked and limited conversation to collaborators Jul 31, 2026
@pull pull Bot added the ⤵️ pull label Jul 31, 2026
@pull
pull Bot merged commit 825c457 into turkdevops:master Jul 31, 2026
0 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants