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

Fix super class of NoTypeFoundError from BaseError to DefinitionError #1290

Conversation

pocke
Copy link
Member

@pocke pocke commented Mar 25, 2023

NoTypeFoundError inherits different classes between Ruby and RBS.
It inherits BaseError on the Ruby level but inherits DefinitionError on the RBS level.

This PR fixes the Ruby-level superclass. This error occurs during building definitions, so DefinitionError is the correct superclass.

@pocke pocke force-pushed the Fix_super_class_of_NoTypeFoundError_from_BaseError_to_DefinitionError branch from 6133fbb to a6e20fe Compare March 30, 2023 05:42
@soutaro soutaro added this to the RBS 3.1 milestone Apr 14, 2023
@soutaro soutaro added this pull request to the merge queue Apr 14, 2023
Merged via the queue into ruby:master with commit 5d60b1d Apr 14, 2023
@pocke pocke deleted the Fix_super_class_of_NoTypeFoundError_from_BaseError_to_DefinitionError branch April 14, 2023 02:00
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