Bug #1409 [ruby-reference-manual:1406]

メソッド名のみを引くと refe が異常終了する。

Added by masaru higaki 329 days ago. Updated 226 days ago.

Status :Closed Start :04/26/2009
Priority :Normal Due date :
Assigned to :- % Done :

100%

Category :-
Target version :-
reporter :

ruby_version :


Description

以下のコマンドで異常終了する。

ruby -Ke -C /usr/local/share/ruby-refm-1.9.1-dynamic -I bitclust/lib bitclust/bin/refe.rb -d db-1_9_1 at_exit

Kernel.at_exit や Kernel#at_exit では異常終了しない。

"クラス名.#メソッド名" で登録されているものが異常終了することが多いようです。
(全てではありません)

bugfix-refe-searck-kernel (1.2 KB) Ippei Obayashi, 07/27/2009 06:39 PM

bugfix-refe-searck-kernel2 (914 Bytes) Ippei Obayashi, 07/30/2009 10:56 PM

Associated revisions

Revision 3642
Added by okkez 226 days ago

  • lib/bitclust/completion.rb

(BitClust::Completion#search_methods_from_mname): handle module function correctly. a patch from Ippei Obayashi (fix #1409). (BitClust::Completion#mspec_from_cref_mname): add new method.

History

07/27/2009 06:39 PM - Ippei Obayashi

Module functionを表す".#"という文字列の取り扱いが一部正しくないのが原因のようです。
添付のパッチで修正されると思います。

07/30/2009 10:56 PM - Ippei Obayashi

このパッチだと定数の検索で異常修了します。というわけでパッチを差し替え。

08/08/2009 02:47 PM - okkez _

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Applied in changeset r3642.

Also available in: Atom PDF