Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp-roslyn triggers warning on 30 RC #4595

Open
3 tasks done
gagbo opened this issue Oct 25, 2024 · 1 comment
Open
3 tasks done

lsp-roslyn triggers warning on 30 RC #4595

gagbo opened this issue Oct 25, 2024 · 1 comment
Labels

Comments

@gagbo
Copy link
Contributor

gagbo commented Oct 25, 2024

Thank you for the bug report

  • I am using the latest version of lsp-mode related packages.
  • I checked FAQ and Troubleshooting sections
  • You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain

Bug description

When I start lsp-mode in doom, I get

~/.config/emacs/.local/straight/build-30.0.91/lsp-mode/lsp-roslyn.el: Warning:
    ‘make-network-process´ called without required keyword argument :service

in a *Compile-Log* buffer

Steps to reproduce

Pretty sure that to repro this, you just need to:

  • go to lsp-roslyn.el
  • call emacs-lisp-native-compile

Expected behavior

No warning

Which Language Server did you use?

None.

OS

Linux

Error callstack

`*Compile-Log*`

Compiling file /Users/gagbo/.config/emacs/.local/straight/repos/lsp-mode/clients/lsp-roslyn.el at Fri Oct 25 08:53:00 2024
Entering directory ‘/Users/gagbo/.config/emacs/.local/straight/repos/lsp-mode/clients/’
lsp-roslyn.el:62:19: Warning: in defcustom for ‘lsp-roslyn-server-log-level’:
    irregular type ‘:tag’
lsp-roslyn.el:127:10: Warning: ‘make-network-process´ called without required
    keyword argument :service

Anything else?

Not sure how relevant the bug is, because of the Emacs version, but given I’m on 0.91, I thought it would be nice to warn [sic] about this.

@gagbo gagbo added the bug label Oct 25, 2024
@kiennq
Copy link
Member

kiennq commented Oct 28, 2024

The :service path in the make_network-process can probably be omitted. It connects to a named pipe instead of a server with a port so specifying service here is not really necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants