Skip to content

Wrong type argument on opening new file #71

@changephilip

Description

@changephilip

I met a problem like emacs-lsp/lsp-mode#714 after updating lsp-mode with spacemacs develop in emacs25.1(running in Debian9.8 under WSL).

Describe the bug
When opening a new file, LSP reports wrong type argument error. Please see the long trace attached at the end.

To Reproduce
Open a c++ file with cquery enabled.

Which Language Server did you use
cquery

Error callstack

Debugger entered--Lisp error: (wrong-type-argument listp [#<hash-tabl....
cquery--publish-semantic-highlighting(#s(lsp--workspace :parser #s(lsp--parser :headers nil....
lsp--on-notification(#s(lsp--workspace.....
lsp--parser-on-message(#s(lsp--parser :headers nil :body nil.....

When disabling sem-highlight , no errors were reported.
When downgrading the lsp-mode package back to around half year ago , cquery seemed to work.
According to the callstack and the issue mentioned in lsp-mode, the problem may be caused by emacs-cquery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions