Skip to content

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

@stevegeek

Description

@stevegeek

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
                              ~~~~~~~~~~~~~~~~~~~~~
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions