Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Incorrect aliasing

オープン
#1,764 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
ruby
領域
documentation

調査の方向性

まず、issue で説明されている alias old_met met に続いて def met を記述する例を再現し、その後 RDoc の alias 処理とパースフローを追跡してください。現在のクラスで定義されたメソッドに alias が解決され、祖先のメソッドには解決されないことを回帰テストでカバーできれば、修正は完了です。

索引モデルが issue の本文から書いたものです。

説明

Here is an exchange between Eric Hodel and me in December 2010:

Me:

Hi Eric,

The bug I started fixing is that when we find
  alias old_met met
  def met ...
then old_met is not an alias for the met method defined there:
it is an alias for a 'met' method defined in an ancestor, so at worst an external alias.
But that means you can only resolve aliases when parsing is complete.
So I did start fixing the bug, but I think it drives me too far,
and as I do not have much time lately,
I think we can keep that for a next version.
Is that OK with you?
-- Thierry

Eric :

Wow, that will be a tough bug to fix.
I admire your ambition and it is fine that this bug waits for a future release.
Since there have been API changes this next release will be RDoc 3.
(...)

At RDoc 8, I think it's time to fix the bug! ^_^

主要言語
Ruby
スター
927
フォーク
467
平均マージ
23時間 47分
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ruby/rdoc のほかの issue

ruby/rdoc の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。