modular icon indicating copy to clipboard operation
modular copied to clipboard

[BUG][LSP] Simple program crashes LSP

Open soraros opened this issue 1 year ago • 2 comments

Bug description

As title.

LSP keeps receiving request like the following:

I[02:28:11.590] --> textDocument/inlayHint(98)
I[02:28:11.590] --> reply:textDocument/inlayHint(98): -32600: invalid request
D[02:28:11.590] >>> {"error":{"code":-32600,"message":"invalid request"},"id":98,"jsonrpc":"2.0"}

Steps to reproduce

fn main():
  range(10)

System information

Package     Version               Build    Size       Kind   Source
max         25.4.0.dev2025051623  release  10.6 KiB   conda  max
max-core    25.4.0.dev2025051623  release  210.8 MiB  conda  max-core
max-python  25.4.0.dev2025051623  release  11.1 MiB   conda  max-python

soraros avatar May 17 '25 02:05 soraros

This should be fixed in the next nightly release.

AmaranthineCodices avatar May 22 '25 20:05 AmaranthineCodices

I'm on Arch LInux and I face the same problem on neovim

ahmedYasserM avatar Aug 13 '25 14:08 ahmedYasserM