Investigation: does Tapioca attempt to reference private constants?
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 873
- Forks
- 164
- Avg merge
- 4d 27m
- Merged PRs (30d)
- 9
Description
Tapioca skips generating RBIs for private Sorbet constants. However, we are seeing instances of those constants being referenced in sorbet typechecks on projects with RBI generated by tapioca.
See gist: https://gist.github.com/rafaelfranca/ff4e9ba1fce3a53320268e1b01790d9c
It's not clear if this is a reproduce-able problem or what is causing it -- more investigation needed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked gist and the reported Sorbet typechecks, then inspect the RBI files generated by Tapioca for references to private constants. Determine whether the behavior is reproducible and identify what causes those references; the investigation is done when the reproduction status and source of the references are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100