[#2367] Standard libraries — Dave Thomas <dave@...>

From ruby-dev summary:

60 messages 2004/02/11

[#2397] PATCH: deprecate cgi-lib, getopts, importenv, parsearg from standard library — Gavin Sinclair <gsinclair@...>

Index: cgi-lib.rb

15 messages 2004/02/12

[#2465] PATCH: OpenStruct#initialize to yield self — Gavin Sinclair <gsinclair@...>

This is a common approach I use to object initialization; I don't know

24 messages 2004/02/19

Bugs in source: nightly-snapshot

From: Hugh Sasse Staff Elec Eng <hgs@...>
Date: 2004-02-27 17:26:58 UTC
List: ruby-core #2520
I have just:
        grabbed the nightly snapshot
        cvs updated my ruby-doc
        built the snapshot.

and got:

                          parser.rb: mc.c.c.c.cc....c.......cc.....m...........
                     rexmlparser.rb: mc..c.

RDoc failure in ./lib/ruby/1.9/rss/rexmlparser.rb at or around line 44 column 29

Before reporting this, could you check that the file
you're documenting compiles cleanly--RDoc is not a
full Ruby parser, and gets confused easily if fed
invalid programs.

The internal error was:

/home/hgs/RUBY-SNAPSHOT/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:2312:in `get_symbol_or_name': Name or symbol expected (got #<RubyToken::TkLPAREN:0x2f8d560>) (RuntimeError)
        from /home/hgs/RUBY-SNAPSHOT/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:2318:in `parse_alias'
        from /home/hgs/RUBY-SNAPSHOT/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:1683:in `parse_statements'
        from /home/hgs/RUBY-SNAPSHOT/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:1745:in `parse_class'

                        rubyunit.rb:
   [...]
                        tkcanvas.rb: m..c....................................................m..............................c...........c..c.c.c...c......c.c.c.c.c.c.c.c.c.c........c.c............
                       tkbgerror.rb: m...
                         tkafter.rb: c................................
                              tk.rb: m.
lib/ruby/1.9/tk.rb:14:15: Couldn't find module None


RDoc failure in lib/ruby/1.9/tk.rb at or around line 14 column 15

Before reporting this, could you check that the file
you're documenting compiles cleanly--RDoc is not a
full Ruby parser, and gets confused easily if fed
invalid programs.

The internal error was:

brains hgs 12 %>


It was suggested that I report this here

        Hugh

In This Thread

Prev Next