Remove usage of deprecated constant IRB::InputCompletor

Open
#1,079 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Search the repository for IRB::InputCompletor and inspect the debug code path that uses it. Confirm the replacement supported by the current IRB API, then run the relevant debug tests or reproduce the reported warning to verify that the deprecated-constant warning is gone.

Written by the indexing model from the issue text.

Description

Debug seems to be using a deprecated class from IRB:

warning: constant IRB::InputCompletor is deprecated

IRB::InputCompletor was removed in a refactor: https://github.com/ruby/irb/pull/707, and then restored and deprecated in https://github.com/ruby/irb/commit/77265efc5f179d31be4ddea5d8fd6a5290fe678a

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.