steep
steep copied to clipboard
No RBS for stdlib's SimpleDelegate?
In a project where I use stdlib's SimpleDelegator it emits and error, saying the type is unknown.
I tried adding the library name to the steep config, but got an error:
#<RBS::EnvironmentLoader::UnknownLibraryError: Cannot find type definitions for library: delegate ([nil])>
(I just assumed that if you had to do a require 'delegate' to use a stdlib then you'd use the same name in the steep config.)
I encountered a similar issue. What worked for me was actually adding steep gem to my Gemfile and running it with bundle exec steep check.