ruby / ruby/mutex_m

v0.3.0: Duplicated declaration: ::Mutex_m::VERSION

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

Nobody has claimed this yet.

Dominant language
Ruby
Stars
78
Forks
12
Avg merge
3d 21h
Merged PRs (30d)
2

Description

ruby/3.2.0/gems/mutex_m-0.3.0/sig/mutex_m.rbs:99:0...99:24: Duplicated declaration: ::Mutex_m::VERSION (RBS::DuplicatedDeclarationError)

I just pulled in v0.3.0 and am getting this error while running steep. I'm fairly sure our app isn't explicitly defining this RBS definition.

cc. @soutaro since I see you introduced the RBS file in this change.

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

Start by inspecting ruby/3.2.0/gems/mutex_m-0.3.0/sig/mutex_m.rbs around line 99 and compare the RBS declarations introduced in commit fbf9d60401bd57ef77b016f24f54ab2b771d4b8b. Run steep against mutex_m v0.3.0 to reproduce the duplicated declaration, then confirm it no longer reports ::Mutex_m::VERSION.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.