1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rdoc/parser
Nobuyoshi Nakada ebcbca96fb [ruby/rdoc] Fix full name of known class
Properly set the name of `File::Constants`, which is the only name
with a namespace in `RDoc::KNOWN_CLASSES`, and fixes longstanding bug
that `File::Constants` becomes `File::File::Constants`.

When it is generated by `rb_file_const` in dir.c, `name` is set to the
qualified name as same as `full_name`, and generated in the normal way
in file.c later, already set `full_name` is cleared and `name` will be
constructed from the enclosing namespace and the `name`.  It will
results in duplicated namespace, `File::File::Constants`.

https://github.com/ruby/rdoc/commit/3a8d6df562
2022-03-16 15:05:41 +09:00
..
c.rb [ruby/rdoc] Fix full name of known class 2022-03-16 15:05:41 +09:00
changelog.rb [ruby/rdoc] Support iso-strict format in git-log 2021-01-25 18:33:33 +09:00
markdown.rb
rd.rb
ripper_state_lex.rb
ruby.rb [ruby/rdoc] Skip parentheses on singleton class declaration 2022-02-09 18:45:05 +09:00
ruby_tools.rb
simple.rb
text.rb