modular
modular copied to clipboard
[BUG][LSP] Simple program crashes LSP
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
This should be fixed in the next nightly release.
I'm on Arch LInux and I face the same problem on neovim