Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENV/shared: fix macOS code not applying under HOMEBREW_SORBET_RUNTIME #16218

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Nov 14, 2023

When redefining a method, Sorbet Runtime will not detect this properly if it does not have a type signature and the original did. This results in the new method being completely ignored and Sorbet only calling the original. I reckon is an upstream bug, but we can workaround it ourselves.

This fixes an important issue where any formulae using macOS Perl on Sonoma would not use the correct perl.

@Bo98 Bo98 added the critical Critical change which should be shipped as soon as possible. label Nov 14, 2023
@Bo98 Bo98 enabled auto-merge November 14, 2023 02:14
@Bo98 Bo98 merged commit 6de29c2 into Homebrew:master Nov 14, 2023
28 checks passed
@Bo98 Bo98 deleted the env-shared-macos-fix branch November 14, 2023 02:32
@MikeMcQuaid
Copy link
Member

Good catch, thanks @Bo98!

@github-actions github-actions bot added the outdated PR was locked due to age label Dec 15, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants