-
Notifications
You must be signed in to change notification settings - Fork 121
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
Type Elem must be re-declared in Bundler::EndpointSpecification #105
Comments
What happens when you run this: srb rbi suggest-typed |
It's really weird that the |
Are you on the latest version of sorbet? I'm not seeing this error :? |
Oh it seems to happen if you have the |
We've temporarily reverted the change that caused this—that way, we can figure out what caused this situation to arise in the first place before re-merging the PR. |
I'm still confused as to where the Also, if you want to get rid of the gem.rbi in your project you'll need to delete it yourself. Sorbet doesn't seem to delete files if they're in sorbet-typed, it only overwrites existing files or adds them. |
ok, so it looks like Gem::Specification does indeed extend Enumerable in class Gem::Specification
extend ::Enumerable
end So when I removed the explicit |
hm, actually this might happen regardless of whether |
Running |
I am getting this error after updating
sorbet-typed
and I am unsure how to resolve the issue:The text was updated successfully, but these errors were encountered: