[前][次][番号順一覧][スレッド一覧]

ruby-reference-manual:3614

From: "okkez (okkez _)" <redmine@r...>
Date: Sun, 7 Apr 2013 22:48:04 +0900
Subject: [ruby-reference-manual:3614] [るりまプロジェクト - Bug #8231][Closed] r5740 以降で test_rdcompiler.rb が失敗する


Issue #8231 has been updated by okkez (okkez _).

Status changed from Open to Closed

r5762 までで直したので close します。
----------------------------------------
Bug #8231: r5740 以降で test_rdcompiler.rb が失敗する
https://bugs.ruby-lang.org/issues/8231#change-38334

Author: sho-h (Sho Hashimoto)
Status: Closed
Priority: Normal
Assignee: 
Category: bitclust
Target version: 
reporter: 
ruby_version: 


r5740 以降で test_rdcompiler.rb が失敗するようです。
@method に値が入っているのは compile_method 時だけみたいですので、下の行と同様に @opt をみて id を代入するか決めるとかですかね?(rake が通る事しか確認してません、すみません)

  --- lib/bitclust/rdcompiler.rb  (revision 5746)
  +++ lib/bitclust/rdcompiler.rb  (working copy)
  @@ -330,7 +330,8 @@
       def method_signature(sig_line)
         # FIXME: check parameters, types, etc.
         sig = MethodSignature.parse(sig_line)
  -      string %Q( <dt class="method-heading" id="#{@method.index_id(sig.name)}">
  <code>)
  +      id = @opt.nil? ? "" : %Q( id="#{@method.index_id(sig.name)})
  +      string %Q(<dt class="method-heading"#{id}><code>)
         string @method.klass.name + @method.typemark if @opt
         string escape_html(sig.friendly_string)
         string '</code>'



-- 
http://bugs.ruby-lang.org/

--
ML: ruby-reference-manual@m...
Info: http://QuickML.com/

[前][次][番号順一覧][スレッド一覧]

      3613 2013-04-07 06:13 [sho-h@n...          ] [るりまプロジェクト - Bug #8231][Open] r5740 以降で test_rdcompiler.rb が失敗する
->    3614 2013-04-07 15:48 ┗[redmine@r...        ] [るりまプロジェクト - Bug #8231][Closed] r5740 以降で test_rdcompiler.rb が失敗する