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

Use "untyped" as an exceptation of return value of IO#ready? #828

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

mame
Copy link
Member

@mame mame commented Nov 17, 2021

In Ruby 2.7, the method returns true|false.
In Ruby 3.0, it returns nil|IO.
Now in Ruby 3.1.0-dev, it returns true|false again.

The CI of ruby/ruby repository now fails due to the type test of the
method, so I'd like to disable the test tentatively.

In Ruby 2.7, the method returns true|false.
In Ruby 3.0, it returns nil|IO.
Now in Ruby 3.1.0-dev, it returns true|false again.

The CI of ruby/ruby repository now fails due to the type test of the
method, so I'd like to disable the test tentatively.
@mame mame requested review from soutaro and pocke November 17, 2021 02:07
Copy link
Member

@pocke pocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mame mame merged commit 39a2351 into ruby:master Nov 17, 2021
mame added a commit to mame/ruby that referenced this pull request Nov 17, 2021
To prevent the CI failure due to the change of io-wait
ruby/rbs#828
mame added a commit to ruby/ruby that referenced this pull request Nov 17, 2021
To prevent the CI failure due to the change of io-wait
ruby/rbs#828
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants