emacs-lsp / lsp-metals

lsp-mode :heart: metals
https://emacs-lsp.github.io/lsp-metals
GNU General Public License v3.0
58 stars 34 forks source link

the following functions are not known to be defined: -compose, -rpartial, -andfn, -not #62

Closed elefthei closed 2 years ago

elefthei commented 2 years ago

Describe the bug

Warning (bytecomp): the following functions are not known to be defined: -compose,
    -rpartial, -andfn, -not

To Reproduce lsp-metals with use-package like this

(use-package lsp-metals
  :ensure t
  :custom
  ;; Metals claims to support range formatting by default but it supports range
  ;; formatting of multiline strings only. You might want to disable it so that
  ;; emacs can use indentation provided by scala-mode.
  (lsp-metals-server-args '("-J-Dmetals.allow-multiline-string-formatting=off"))
  :hook (scala-mode . lsp))

Expected behavior lsp-metals to install and run without errors. Also when I try to M-x lsp-install-server the same error about -compose appears.

Screenshots If applicable, add screenshots to help explain your problem.

Logs Please include the debug stack trace (if there is an error) and the content of Messages buffer with lsp-print-io set to t in case the bug is related to client->server communication.

yyoncho commented 2 years ago

reinstall dash package.

elefthei commented 2 years ago

That did it, thanks!