Skip to content
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

[error] Cannot find type '_ActionViewBase' from Steep #253

Open
stevegeek opened this issue Dec 22, 2022 · 0 comments
Open

[error] Cannot find type '_ActionViewBase' from Steep #253

stevegeek opened this issue Dec 22, 2022 · 0 comments

Comments

@stevegeek
Copy link

Hi!

Just started adopting RBS/Steep in a project which includes the meta-tags gem.

Running steep check results in the following errors. Is this related to the fact _ActionViewBase and _ActionControllerBase interfaces are defined under the _internal/rails definitions? Do I need to explicitly tell steep to look for them there? If I copy the interface definitions under the MetaTags module then the error is resolved

../../../.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/meta-tags-2.18.0/sig/lib/meta_tags/view_helper.rbs:2:30: [error] Cannot find type `_ActionViewBase`
│ Diagnostic ID: RBS::UnknownTypeName
│
└   module ViewHelper : Module, _ActionViewBase
                                ~~~~~~~~~~~~~~~

../../../.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/meta-tags-2.18.0/sig/lib/meta_tags/controller_helper.rbs:2:28: [error] Cannot find type `_ActionControllerBase`
│ Diagnostic ID: RBS::UnknownTypeName
│
└   module ControllerHelper : _ActionControllerBase
                              ~~~~~~~~~~~~~~~~~~~~~
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant