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

ruby-reference-manual:3817

From: "okkez (okkez _)" <redmine@r...>
Date: Thu, 5 Sep 2013 14:31:02 +0900
Subject: [ruby-reference-manual:3817] [るりまプロジェクト - Bug #2076] dynamic include を実装する


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


そのときのエラーメッセージは以下の通りでした。

../rubydoc/refm/api/src/_builtin/ARGF:2: singleton object class not implemented yet
/home/kenji/ruby/bitclust/lib/bitclust/entry.rb:208:in `restore_entries': undefined method `split' for nil:NilClass (NoMethodError)
        from /home/kenji/ruby/bitclust/lib/bitclust/entry.rb:200:in `restore_classes'
        from /home/kenji/ruby/bitclust/lib/bitclust/entry.rb:41:in `_set_properties'
        from /home/kenji/ruby/bitclust/lib/bitclust/entry.rb:179:in `load'
        from /home/kenji/ruby/bitclust/lib/bitclust/entry.rb:58:in `included'
        from /home/kenji/ruby/bitclust/lib/bitclust/classentry.rb:212:in `ancestors'
        from /home/kenji/ruby/bitclust/lib/bitclust/classentry.rb:213:in `ancestors'
        from /home/kenji/ruby/bitclust/lib/bitclust/classentry.rb:230:in `entries'
        from /home/kenji/ruby/bitclust/lib/bitclust/classentry.rb:354:in `get_method'
        from /home/kenji/ruby/bitclust/lib/bitclust/methoddatabase.rb:352:in `open_method'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:454:in `define_method'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:243:in `block in read_entries'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:242:in `each'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:242:in `read_entries'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:237:in `block in read_level2_blocks'
        from /home/kenji/ruby/bitclust/lib/bitclust/lineinput.rb:115:in `while_match'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:222:in `read_level2_blocks'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:166:in `read_class_body'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:118:in `block in read_classes'
        from /home/kenji/ruby/bitclust/lib/bitclust/lineinput.rb:115:in `while_match'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:113:in `read_classes'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:99:in `do_parse'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:80:in `parse'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:73:in `block in parse_file'
        from /home/kenji/ruby/bitclust/lib/bitclust/compat.rb:42:in `open'
        from /home/kenji/ruby/bitclust/lib/bitclust/compat.rb:42:in `fopen'
        from /home/kenji/ruby/bitclust/lib/bitclust/rrdparser.rb:72:in `parse_file'
        from /home/kenji/ruby/bitclust/lib/bitclust/methoddatabase.rb:161:in `update_by_file'
        from /home/kenji/ruby/bitclust/lib/bitclust/methoddatabase.rb:148:in `block in update_by_stdlibtree'
        from /home/kenji/ruby/bitclust/lib/bitclust/methoddatabase.rb:147:in `each'
        from /home/kenji/ruby/bitclust/lib/bitclust/methoddatabase.rb:147:in `update_by_stdlibtree'
        from /home/kenji/ruby/bitclust/lib/bitclust/subcommands/update_command.rb:39:in `block in exec'
        from /home/kenji/ruby/bitclust/lib/bitclust/database.rb:61:in `transaction'
        from /home/kenji/ruby/bitclust/lib/bitclust/subcommands/update_command.rb:37:in `exec'
        from /home/kenji/ruby/bitclust/lib/bitclust/runner.rb:138:in `_run'
        from /home/kenji/ruby/bitclust/lib/bitclust/runner.rb:32:in `run'
        from ./bin/bitclust:14:in `<main>'

----------------------------------------
Bug #2076: dynamic include を実装する
https://bugs.ruby-lang.org/issues/2076#change-41634

Author: okkez (okkez _)
Status: Feedback
Priority: High
Assignee: 
Category: 
Target version: 
reporter: 
ruby_version: 


=begin
 以下のような記述を行う部分が増えてきているので、実装する。
 
 = reopen Array
 include SomeModule
 
 src/json.rd:63: dynamic include is not implemented yet
 src/json.rd:66: dynamic include is not implemented yet
 src/json.rd:69: dynamic include is not implemented yet
 src/json.rd:72: dynamic include is not implemented yet
 src/json.rd:75: dynamic include is not implemented yet
 src/json.rd:78: dynamic include is not implemented yet
 src/json.rd:81: dynamic include is not implemented yet
 src/json.rd:84: dynamic include is not implemented yet
 src/json.rd:87: dynamic include is not implemented yet
 src/open-uri.rd:100: dynamic include is not implemented yet
 src/open-uri.rd:103: dynamic include is not implemented yet
 src/rake/core_ext:113: dynamic include is not implemented yet
 src/tk/TkCore__INTERP:1: singleton object class not implemented yet
=end



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

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

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