-
Notifications
You must be signed in to change notification settings - Fork 209
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
Add Ractor RBS #755
Add Ractor RBS #755
Conversation
I think "because" is the most difficult spelling
end | ||
|
||
def test_new | ||
# TODO: it raises an error because the proc is not isolated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we need to make assert_send_type
Ractor safe to avoid this error, and I guess it is not easy. So I skipped the test case.
end | ||
|
||
def test_select | ||
r1 = Ractor.new { loop { Ractor.yield 42 } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test code leaks Ractor processes in some places. The leaks don't have a large impact because this test code is short-lived code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR adds RBS for Ractor.