You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flavorjones
changed the title
(master) Ancestors list shows C symbol name instead of class
In v6.8.1, C extension objects "Ancestors" list shows C symbol name instead of class name
Nov 28, 2024
If a NormalClass's superclass is a C enclosure, then update the
superclass to point to the RDoc::NormalClass.
This is done in a single pass after all files have been parsed.
Fixesruby#1205.
Hi! I love the ancestors list, but I found an edge case with how it handles C extensions.
Take a look at the sidebar at https://nokogiri.org/rdoc/Nokogiri/HTML4/Document.html which was generated from 50dda13:
The actual ancestors list is:
but instead it's showing
cNokogiriXmlNode
which is the C symbol that references theNokogiri::XML::Node
class (fromext/nokogiri/xml_node.c
).I haven't had time to dig into this yet, but wanted to raise an issue in case someone has the time to look.
The text was updated successfully, but these errors were encountered: