Skip to content

attr_* signatures are not being extracted with tapioca gem with hand rolled types #2020

Closed as not planned
@ryanong

Description

@ryanong

POC

# Gemfile

source 'https://rubygems.org'

gem 'sorbet', :group => :development
gem 'sorbet-runtime'
gem 'tapioca', require: false, :group => [:development, :test]
gem 'pdf-reader'
$ tapioca init
$ tapioca gem pdf-reader

If you look in the extracted rbi file for pdf-reader you will see that none of the attr_reader methods have signatures

This might apply to all gems including ones with inline types

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions