We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typed: false
→ View on sorbet.run
# typed: false extend T::Sig sig {returns(T::Array[x: Integer])} # ^^^^^^^^^^ this is an error at typed: true or higher def example [] end
No errors! Great job.
Sorbet reports all other type syntax errors at # typed: false:
# typed: false
sorbet/core/errors/resolver.h
Lines 8 to 9 in 118f6d5
There's no reason why this one should be different, except that this specific error is currently an Infer error.
Infer
Once this PR lands, we will be able to simply convert these to resolver errors:
#6784
(or even accept the error code as an argument, if we want.)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Input
→ View on sorbet.run
Observed output
Expected behavior
Sorbet reports all other type syntax errors at
# typed: false
:sorbet/core/errors/resolver.h
Lines 8 to 9 in 118f6d5
There's no reason why this one should be different, except that this specific error is currently an
Infer
error.Once this PR lands, we will be able to simply convert these to resolver errors:
#6784
(or even accept the error code as an argument, if we want.)
The text was updated successfully, but these errors were encountered: