-
Notifications
You must be signed in to change notification settings - Fork 447
Closed
Labels
Description
The darkfish output for this method does not show the call-seq.
The alias is involved, because if it is omitted, the call-seq appears in the output.
The original error is seen in the darkfish output for REXML::Document#expaded_name, in rexml/lib/rexml/document.rb. (Actually, it's seen in my PR ruby/rexml#47.)
There is one other alias in that file, which does not cause the error.
This adapted code will show the error in its darkfish output:
class Foo
# :call-seq:
# expanded_name -> empty_string
#
# Returns an empty string.
#
def expanded_name
''
#d = doc_type
#d ? d.name : "UNDEFINED"
end
alias :name :expanded_name
end