Closed
Description
Describe the bug
This file will crash nixd:
{
x = filter (!
}
Logs
[START][2025-02-01 15:17:35] LSP logging initiated
[ERROR][2025-02-01 15:17:35] .../vim/lsp/rpc.lua:770 "rpc" "/nix/store/2dg30d5qivs6vsaxsn7hz2zj4gsyb5rp-nixd-2.5.1/bin/nixd" "stderr" "I[15:17:35.578] 1224071: <-- initialize(1)\nI[15:17:35.578] 1224071: --> reply:initialize(1)\nI[15:17:35.578] 1224071: --> call window/workDoneProgress/create(1)\nI[15:17:35.578] 1224071: --> notify $/progress\nI[15:17:35.578] 1224071: --> call attrset/evalExpr(1)\n"
[ERROR][2025-02-01 15:17:35] .../vim/lsp/rpc.lua:770 "rpc" "/nix/store/2dg30d5qivs6vsaxsn7hz2zj4gsyb5rp-nixd-2.5.1/bin/nixd" "stderr" "I[15:17:35.579] 1224071: --> call window/workDoneProgress/create(2)\nI[15:17:35.579] 1224071: --> notify $/progress\nI[15:17:35.579] 1224071: --> call attrset/evalExpr(1)\nI[15:17:35.579] 1224071: --> call workspace/configuration(3)\n"
[ERROR][2025-02-01 15:17:35] .../vim/lsp/rpc.lua:770 "rpc" "/nix/store/2dg30d5qivs6vsaxsn7hz2zj4gsyb5rp-nixd-2.5.1/bin/nixd" "stderr" "I[15:17:35.604] 1224071: <-- initialized\nI[15:17:35.604] 1224071: <-- textDocument/didOpen\nnixd: ../src/Parse/Token.h:45: constexpr std::string_view nixf::tok::spelling(TokenKind): Assertion `false && \"Not yet implemented!\"' failed.\n"
To Reproduce
Write a file with the contents and open it.
Have a good day and thank you.
Activity