Skip to content

log: wrong number of arguments (given 2, expected 0) #1321

Open
@stdedos

Description

@stdedos

Disclaimer: Note that I have no idea of anything; this is pulled by pry-doc for me. And this crash is crashing everything for me beyond rescue

I am getting this stacktrace (stripped):

#<DRb::DRbRemoteError: wrong number of arguments (given 2, expected 0) (ArgumentError)>
(druby://1.1.1.1:37533) ruby/lib/ruby/gems/2.6.0/gems/yard-0.9.24/lib/yard/globals.rb:20:in `log'

and I am wondering why is this done

yard/lib/yard/globals.rb

Lines 20 to 22 in 25e77f5

def log
YARD::Logger.instance
end

or why is done like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions