emacs-lsp / emacs-ccls

Emacs client for ccls, a C/C++ language server
200 stars 29 forks source link

Function definition lsp:ccls-call-children is void #94

Closed fperies closed 4 years ago

fperies commented 4 years ago

hello, I'm getting the following error when trying to get call hierarchy tree of a C++ function: ccls-call-hierarchy--request-children: Symbol s function definition is void: lsp:ccls-call-children

edebugger points me out the following line: https://github.com/MaskRay/emacs-ccls/blob/2aea7d0064ce1793d0352dff885d9e6eaca886ce/ccls-call-hierarchy.el#L85

The *ccls-tree call hierarchy buffer remains empty.

Thank you for your support

MaskRay commented 4 years ago

My ccls-call-hierarchy is good. Have you deleted stale .elc files?

fperies commented 4 years ago

I use Spacemacs so normally I should not have to remove manually any .elc file but maybe you could give me some procedure so to achieve this. Or maybe I should disable and enable again layer lsp? Note: I've just checked and I use file ./elpa/26.1/develop/ccls-20200706.237/ccls-call-hierarchy.elc which is quite recent. My issue is not ccls-call-hierarchy but lsp:ccls-call-children which I can not see where it is defined. Can you please point me out where it is supposed to be defined ?

fperies commented 4 years ago

This issue is no more observed. Thanks again for your support