-
Notifications
You must be signed in to change notification settings - Fork 83
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
bug: steep check raises unhandled exceptions #725
Comments
I have the same thing happening on Ruby 3.1.3. Before the output listed in the above gist, I also have:
And after the above gist, I see one |
Ah, this is caused by the incompatible changes introduced in RBS 3.0. Please pin RBS in your Gemfile |
Adding that line to my gemfile does not allow steep check to complete successfully when passed the Steepfile contains target :test do
signature "sig", "sig-private"
check "app/models/*.rb"
# library "pathname", "set" # Standard libraries
end and user.rbs class User < ApplicationRecord
end |
Looks related to soutaro/steep#725 (comment)
@chozandrias76 Could you share the error messages? I will make another release -- 1.3.1 -- that requires rbs-2.8.x (< 3.0.0) to avoid this confusion. |
Released Steep 1.3.1 that requires rbs gem "rbs", "<=2.8.1" |
Its the hidden link on my first post |
@chozandrias76 Thanks. So, the error is:
It looks like this is because RBS 3.0 is loaded while Steep 1.3.0 doesn't support the version. ( How is the result of |
|
@soutaro any updates or anything else I can provide to help? |
Reproduction Steps
gem install steep
./sig
directoryRun `steep check`
https://gist.github.com/chozandrias76/34e5789b877326eeac29203e159830b0The text was updated successfully, but these errors were encountered: