ruby / ruby/typeprof

Type `::Range` is generic but used as a non generic type

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
833
Forks
99
Avg merge
9h 30m
Merged PRs (30d)
12

Description

sig/typeprof/app/services/usage_checker.rbs:33:21: [error] Type `::Range` is generic but used as a non generic type
│ Diagnostic ID: RBS::InvalidTypeApplication
│
└   def date_range: -> Range

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open sig/typeprof/app/services/usage_checker.rbs at line 33 and inspect the date_range signature alongside the reported RBS::InvalidTypeApplication diagnostic. The work is done when the signature no longer uses generic Range as a non-generic type and the diagnostic is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.