Skip to content

Error When Cloning: void-variable cl--nm #30

@abbreviatedman

Description

@abbreviatedman

Possibly related to native compilation?

Reproduction

  1. M-x github-clone
  2. Choose a repo—doesn't seem to matter whether it's in url or username/repo format.
  3. Choose a directory.

Error Message

Debugger entered--Lisp error: (void-variable cl--nm)
  #f(compiled-function (&rest args) #<bytecode -0x155fd4ec0f8dd2f6>)()
  #f(compiled-function (cl--cnm api &rest args) #<bytecode 0x171ba23de7cb8816>)(#f(compiled-function (&rest args) #<bytecode -0x155fd4ec0f8dd2f6>) #<gh-repos-api gh-repos-api-157c081e68ea> nil)
  apply(#f(compiled-function (cl--cnm api &rest args) #<bytecode 0x171ba23de7cb8816>) #f(compiled-function (&rest args) #<bytecode -0x155fd4ec0f8dd2f6>) (#<gh-repos-api gh-repos-api-157c081e68ea> nil))
  #f(compiled-function (&rest cl--args) #<bytecode 0xafaf87c3cc877a4>)(#<gh-repos-api gh-repos-api-157c081e68ea> nil)
  apply(#f(compiled-function (&rest cl--args) #<bytecode 0xafaf87c3cc877a4>) #<gh-repos-api gh-repos-api-157c081e68ea> nil)
  initialize-instance(#<gh-repos-api gh-repos-api-157c081e68ea> nil)
  #f(compiled-function (class &rest slots) "Default constructor for CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots used by `initialize-instance'.\nThis static method is called when an object is constructed.\nIt allocates the vector used to represent an EIEIO object, and then\ncalls `initialize-instance' on that object." #<bytecode -0x197004fac24923e3>)(gh-repos-api)
  apply(#f(compiled-function (class &rest slots) "Default constructor for CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots used by `initialize-instance'.\nThis static method is called when an object is constructed.\nIt allocates the vector used to represent an EIEIO object, and then\ncalls `initialize-instance' on that object." #<bytecode -0x197004fac24923e3>) gh-repos-api nil)
  make-instance(gh-repos-api)
  apply(make-instance gh-repos-api nil)
  gh-repos-api()
  github-clone-info("abbreviatedman" "dangerroom")
  github-clone("abbreviatedman/dangerroom" "~/Documents/side-projects/")
  funcall-interactively(github-clone "abbreviatedman/dangerroom" "~/Documents/side-projects/")
  command-execute(github-clone record)
  execute-extended-command(nil "github-clone" nil)
  funcall-interactively(execute-extended-command nil "github-clone" nil)
  command-execute(execute-extended-command)

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