Bug #1409

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

Added by masaru higaki almost 3 years ago. Updated 9 months ago.

[ruby-reference-manual:1406]
Status:Closed Start date:04/26/2009
Priority:Normal Due date:
Assignee:- % 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 over 2 years 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

Updated by Ippei Obayashi over 2 years ago

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

Updated by Ippei Obayashi over 2 years ago

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

Updated by okkez _ over 2 years ago

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

Also available in: Atom PDF