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

Remove call to TypeParam#unchecked! from C parser #2256

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

Morriar
Copy link
Contributor

@Morriar Morriar commented Jan 24, 2025

Similar to #2249, as we're trying to detangle the C parser implementation from Ruby, the call to TypeParam#unchecked! is problematic.

Instead we can store a flag in the C structure and move this call to the Ruby implementation during the object initialization.

Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

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

👍

@soutaro soutaro added this to the RBS 3.9 milestone Jan 28, 2025
@soutaro soutaro added this pull request to the merge queue Jan 28, 2025
Merged via the queue into ruby:master with commit 5b64e6c Jan 28, 2025
19 checks passed
@Morriar Morriar deleted the at-remove-unchecked-call branch January 28, 2025 14:13
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.

2 participants