Skip to content

Appease typecheck - #4186

Merged
kddnewton merged 1 commit into
ruby:mainfrom
Earlopain:appease-typecheck
Jul 28, 2026
Merged

Appease typecheck#4186
kddnewton merged 1 commit into
ruby:mainfrom
Earlopain:appease-typecheck

Conversation

@Earlopain

Copy link
Copy Markdown
Collaborator

Potentially calls slice twice but none will have a newline in them anyways. sorbet doesn't know that when the slice is not nil, the loc will also not be nil

@kddnewton
kddnewton merged commit e25f51b into ruby:main Jul 28, 2026
101 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