-
Notifications
You must be signed in to change notification settings - Fork 215
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
rbs validate: NoMethodError for a method taking a block #1905
Comments
tk0miya
added a commit
to tk0miya/rbs
that referenced
this issue
Jun 23, 2024
The method name was incorrect. `#with_nonreturn_void` should be renamed to `#with_nonreturn_void?`.
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 10, 2024
Fix #1905: Fix typo in UntypedFunction
soutaro
pushed a commit
to tk0miya/rbs
that referenced
this issue
Jul 10, 2024
The method name was incorrect. `#with_nonreturn_void` should be renamed to `#with_nonreturn_void?`.
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 10, 2024
Fix #1905: Fix typo in UntypedFunction
soutaro
added a commit
that referenced
this issue
Jul 10, 2024
Fix #1905: Fix typo in UntypedFunction
Fixed in #1905. Thanks! 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got NoMethodError from the following RBS file when I run
rbs validate
:This RBS definition is generated from the following Ruby code via
rbs prototype rb
command.Note: I got this error when I updated rbs to 3.5.1 from 3.4.4.
Here is a minimal reproducible example: https://github.com/tk0miya/rbs_validate_with_nonreturn_void_bug/tree/main
The text was updated successfully, but these errors were encountered: