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 Panics #7

Open
emil14 opened this issue Feb 3, 2025 · 1 comment
Open

LSP Panics #7

emil14 opened this issue Feb 3, 2025 · 1 comment
Assignees

Comments

@emil14
Copy link
Contributor

emil14 commented Feb 3, 2025

2025-02-04 00:35:39.795 [error] [Extension Host] panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104bcbfec]

goroutine 5 [running]:
github.com/nevalang/neva/internal/compiler/parser.Parser.ParseFiles({}, {{0x104cb5a90?, 0x140001e40f0?}, {0x0?, 0x1c?}}, {0x14000037ec0, 0x1a}, 0x140005a5b90)
	/Users/emil/projects/neva/internal/compiler/parser/parser.go:69 +0x19c
github.com/nevalang/neva/internal/compiler/parser.Parser.ParsePackages({}, {{0x104cb5a90?, 0x140005a5bf0?}, {0x0?
2025-02-04 00:35:39.795 [error] [Extension Host] , 0x104bdf8d1?}}, 0x14000892b10)
	/Users/emil/projects/neva/internal/compiler/parser/parser.go:49 +0xd0
github.com/nevalang/neva/internal/compiler/parser.Parser.ParseModules({}, 0x140005a5bf0)
	/Users/emil/projects/neva/internal/compiler/parser/parser.go:25 +0xdc
github.com/nevalang/neva/internal/compiler.Frontend.Process({{0x104e18c48?, 0x1400007d740?}, {0x104e18c68?, 0x1051ff300?}}, {0x104e1da50?, 0x1051ff300?}, {0x14000038e40, 0x19})
	/Users/emil/projects/neva/internal/compiler/compiler.go:56 +0xc8
github.com/nevalang/neva/cmd/lsp/indexer.Indexer.FullScan({{{0x104e18c48, 0x1400007d740}, {0x104e18c68, 0x1051ff300}}, {{{0x104e1ad60, 0x1051ff300}, {0x104e18be8, 0x14000030230}, {0x104e18bc8, 0x1051ff300}}}, ...}, ...)
	/Users/emil/projects/neva/cmd/lsp/indexer/indexer.go:27 +0x90
github.com/nevalang/neva/cmd/lsp/server.(*Server).indexAndNotifyProblems(0x1400019c1c0, 0x14000892840)
	/Users/emil/projects/neva/cmd/lsp/server/server.go:39 +0xd8
github.com/nevalang/neva/cmd/lsp/server.(*Server).TextDocumentDidSave(0x1400019c1c0, 0x14000810d40, 0x140001f8101?)
	/Users/emil/projects/neva/cmd/lsp/server/text_document_synchronization.go:33 +0x5c
github.com/tliron/glsp/protocol_3_16.(*Handler).Handle(0x140001f8000, 0x14000810d40)
	/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/protocol_3_16/handler.go:350 +0xda8
github.com/nevalang/neva/cmd/lsp/server.Handler.Handle({0x140001f8000?, 0x0?}, 0x14000810d40)
	/Users/emil/projects/neva/cmd/lsp/server/handler.go:40 +0x234
github.com/tliron/glsp/server.(*Server).handle(0x1400007ef00, {0x104e1da50, 0x1051ff300}, 0x140001aa1b0, 0x14000930900)
	/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/server/handle.go:46 +0x234
github.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0x140000305e0, {0x104e1da50, 0x1051ff300}, 0x140001aa1b0, 0x14000930900)
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x4c
github.com/sourcegraph/jsonrpc2.(*Conn).readMessages(0x140001aa1b0, {0x104e1da50, 0x1051ff300
2025-02-04 00:35:39.795 [error] [Extension Host] })
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:205 +0x2a4
created by github.com/sourcegraph/jsonrpc2.NewConn in goroutine 1
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:62 +0x1d0
@emil14 emil14 self-assigned this Feb 3, 2025
@emil14
Copy link
Contributor Author

emil14 commented Feb 13, 2025

log from discord

Emil Valeev
emil_musician
🌊In the flow

Emil Valeev (Neva Creator) — 09.02.2025, 22:23
errors package is ready, today/tomorrow new release

with new e2e tests ofc 
new APIs are 

// New creates a new error with the given text.
def New(data string) (res error)

// Must converts a node that has an error outport to one that doesn't.
// It handles the error internally by panicking.
// Just like Panic, should only be used for fatal errors.
def Must<T, Y>(data T) (res Y)

// Lift converts a node that doesn't have an error outport to one that does.
// The error outport is fictional and will always be silent.
def Lift<T, Y>(data T) (res Y, err error)
Emil Valeev (Neva Creator) — 10.02.2025, 11:45
Take a look at this discussion please

https://github.com/nevalang/neva/discussions/873
GitHub
`!` operator? · nevalang neva · Discussion #873
Several statically typed languages have functionality, which tells the compiler to treat a potentially empty value as non-empty. Here are some comparable features in other languages: Rust - .unwrap...
`!` operator? · nevalang neva · Discussion #873
Добро пожаловать, Tesla-ambassador. Надеемся, ты к нам не без пиццы! — Вчера, в 00:06
Emil Valeev (Neva Creator) — 12.02.2025, 00:17
Emil Valeev (Neva Creator) — 12.02.2025, 12:45
@MDH I see there's a lot of compilation errors in your PR, do you want to delegate some of the work to me?
I could check your fork locally
MDH — 12.02.2025, 12:48
You could, although wanted to take a look at it today
Emil Valeev (Neva Creator) — 12.02.2025, 12:50
Oh I'll wait then 👍. Text me if you'll need anything
Tot0p приземляется на сервере. — Вчера, в 13:59
Рады тебя видеть, gowno. — 12.02.2025, 14:42
Emil Valeev (Neva Creator) — 12.02.2025, 16:32
Emil Valeev (Neva Creator) — 12.02.2025, 16:32
gowno — 12.02.2025, 16:32
@Dorian3343  this is my old account
hiya
MDH — 12.02.2025, 23:20
Hi @Emil Valeev (Neva Creator) . Quick question, because my build contains the additional error outport for println, the test for errors.Lift fails on my side. I would suggest, moving the println out of the handler into the main function and let the handler return a string instead.
Emil Valeev (Neva Creator) — Вчера, в 12:04
let's just not use println there

---

main.neva

import {
    fmt
    errors
}

// errors.Lift wraps handler so it behaves like a node with error outport.
def Main(start any) (stop any) {
    lift errors.Lift<any, any>{Handler}
    panic Panic
    ---
    :start -> lift
    lift:res -> :stop
    lift:err -> panic
}

// Handler doesn't have error outport.
def Handler(data any) (res any) {
    :data -> :res
}


e2e_test.go

package test

import (
    "os/exec"
    "testing"

    "github.com/stretchr/testify/require"
)

func Test(t *testing.T) {
    cmd := exec.Command("neva", "run", "main")

    out, err := cmd.CombinedOutput()
    require.NoError(t, err)
    require.Equal(
        t,
        "",
        string(out),
    )

    require.Equal(t, 0, cmd.ProcessState.ExitCode())
}
Emil Valeev (Neva Creator) — Вчера, в 17:46
v0.31.0 with errors package is available, I'll promote it later 
Clouds уже здесь. — Вчера, в 22:22
Clouds — Вчера, в 22:24
hii
i'm wondering if there is a treesitter or lsp for neva?
or even a syntax highlighting theme for neovim?
gowno — Вчера, в 22:29
there is a vscode extension
Clouds — Вчера, в 22:30
😭
gowno — Вчера, в 22:30
rewrite it to nvim
there is an lsp in the vscode extension
okay so there is an lsp
You just have to build it yourself
Clouds — Вчера, в 22:34
do u have a link to the repo for it?
gowno — Вчера, в 22:34
its in the neva repo
look through the Makefile and you can find how to build it
Clouds — Вчера, в 23:30
has anyone here setup a custom lsp in neovim before, having some trouble setting this up
Emil Valeev (Neva Creator) — Вчера, в 23:40
@Clouds greetings, we love to have you here

unfortunately we don't have vim/nvim extensions but I would love to participate if anyone will try to write one

also after cross-platform support it seems like LSP contains some bug that might crash the server, I'll need to take a look

could you please describe what trouble do you have at the moment?
Clouds — Вчера, в 23:40
hi
i'm just having trouble with the neovim side of things
lol
Emil Valeev (Neva Creator) — Вчера, в 23:41
well maybe we have neovim users here
Clouds — Вчера, в 23:41
yeah i hope so
i'll just use vscode for now ig
Emil Valeev (Neva Creator) — Вчера, в 23:41
also I'm wondering if problems might be related to LSP itself
Clouds — Вчера, в 23:41
i've just never added a custom lsp before
so i'm fumbling a bit
Clouds — Вчера, в 23:42
vscode just takes a long time to start up on my computer
so i prefer to keep things in terminal
Emil Valeev (Neva Creator) — Вчера, в 23:42
I see. If you or anyone else who uses vim/nvim would like to create Neva extension I will participate just so you know
LSP is experimental just like the language itself so chances are you'll get some bugs, but I'll fix them ASAP if you (or anyone else) report
Clouds — Вчера, в 23:44
sounds good
Error - 12:44:33 PM] Neva LSP Client client: couldn't create connection to server.
Error: Unsupported architecture: x64
    at Cw (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:44:48801)
    at t (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:44:47845)
    at Cd.createMessageTransports (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:44:39518)
    at Cd.createConnection (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:41:12515)
    at Cd.start (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:41:2741)
    at tv (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:44:48457)
    at Dw (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:58:1397)
    at Pw.kb (file:///home/clouds/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/out/vs/workbench/api/node/extensionHostProcess.js:119:15214)
    at Pw.jb (file:///home/clouds/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/out/vs/workbench/api/node/extensionHostProcess.js:119:14921)
    at file:///home/clouds/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/out/vs/workbench/api/node/extensionHostProcess.js:119:13079
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async K0.n (file:///home/clouds/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/out/vs/workbench/api/node/extensionHostProcess.js:115:4447)
    at async K0.m (file:///home/clouds/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/out/vs/workbench/api/node/extensionHostProcess.js:115:4410)
    at async K0.l (file:///home/clouds/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/out/vs/workbench/api/node/extensionHostProcess.js:115:3866)
hm
unsupported arch x64
would you rather i make a github issue?
that'd prob make more sense lol
i'm on linux (well, on wsl)
and x64 is just another name for amd64
used by intel
Emil Valeev (Neva Creator) — Вчера, в 23:50
let me check realquick
this is from validation

if (!["arm64", "amd64"].includes(arch)) {
    window.showErrorMessage(`Unsupported architecture: ${arch}`);
    throw new Error(`Unsupported architecture: ${arch}`);
  }
gowno — Вчера, в 23:51
just add x64
Emil Valeev (Neva Creator) — Вчера, в 23:52
yeah looks like that just logic error
Clouds — Вчера, в 23:52
then i get
[Error - 12:52:41 PM] Neva LSP Client client: couldn't create connection to server.
TypeError: The "path" argument must be of type string. Received undefined
    at Object.join (node:path:1251:7)
    at t (/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js:44:47880)
if i try to update the amd64 references to be x64 (still using the amd64 binary) then i get 
[Info  - 12:54:15 PM] Connection to server got closed. Server will restart.
true
[Info  - 12:54:15 PM] Connection to server got closed. Server will restart.
true
[Info  - 12:54:16 PM] Connection to server got closed. Server will restart.
true
[Info  - 12:54:16 PM] Connection to server got closed. Server will restart.
true
[Error - 12:54:16 PM] The Neva LSP Client server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
Emil Valeev (Neva Creator) — Вчера, в 23:56
am I right that you've updated the extension source-code and reinstalled it locally in vscode?
gowno — Вчера, в 23:56
I was going through the lsp code and
function getNonce() {
. . . 
}

cracked me up
Emil Valeev (Neva Creator) — Вчера, в 23:56
that's not used at the moment
gowno — Вчера, в 23:56
Nonce is slang for pedofile in England
Clouds — Вчера, в 23:57
i just edited
/home/clouds/.vscode-server/extensions/nevalang.vscode-nevalang-0.7.5/dist/extension.js
which was listed in the error messages
Emil Valeev (Neva Creator) — Вчера, в 23:57
I see
Clouds — Вчера, в 23:57
and then reloaded the window
Clouds — Вчера, в 23:57
i'd appreciate if we didnt make jokes about pedophilia, as it is disrespectful to survivors of csa
Emil Valeev (Neva Creator) — Вчера, в 23:57
webview was used for react-based node-editor that is frozen at the moment
Clouds — Вчера, в 23:58
ty
Emil Valeev (Neva Creator) — Вчера, в 23:58
good point, thank you
sorry for that
Clouds — Вчера, в 23:58
appreciate yall taking the correction well
<3
Emil Valeev (Neva Creator) — Сегодня, в 00:00
I think I see what's happening
you've updated one part of the code, but there's another one
Изображение
you may try to update minified/transpiled file extension.js once again, here's the part
Изображение
but this is very hacky way of fixing so I'm not sure if it will work
Clouds — Сегодня, в 00:02
yeah i updated that part
Emil Valeev (Neva Creator) — Сегодня, в 00:02
any success?
Clouds — Сегодня, в 00:03
that's what got me here
Emil Valeev (Neva Creator) — Сегодня, в 00:03
oh I see
could you please open OUTPUT section in panel, select "Extension Host" channel and search for "nevalang" logs? please tell me if you see anything that looks like logs from Golang server
here how it looks
Изображение
and probably also Window channel too, in case there's nothing in extension host
sorry for such a poor developer experience, I'll do my best to fix it
Clouds — Сегодня, в 00:08
this was the output section
ah i found some stuff in window
Emil Valeev (Neva Creator) — Сегодня, в 00:10
I just found one issue myself, maybe yours is the same
Clouds — Сегодня, в 00:11
2025-02-13 13:10:07.915 [error] [Extension Host] 2025/02/13 13:10:07.912  INFO [neva.server] reading from stdin, writing to stdout

2025-02-13 13:10:08.081 [error] [Extension Host] panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8fabb9]

goroutine 4 [running]:
github.com/nevalang/neva/cmd/lsp/server.(*Server).indexAndNotifyProblems(0xc0002140e0, 0xc0002aad20)
/Users/emil/projects/neva/cmd/lsp/server/server.go:71 +0x2d9
github.com/nevalang/neva/cmd/lsp/server.(*Server).Initialized(...)
/Users/emil/projects/neva/cmd/lsp/server/general_messages.go:21
github.com/tliron/glsp/protocol_3_16.(*Handler).Handle(0xc00023a000, 0xc0000578c0)
/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/protocol_3_16/handler.go:138 +0x619
github.com/nevalang/neva/cmd/lsp/server.Handler.Handle({0xc00023a000?, 0x0?}, 0xc0000578c0)
/Users/emil/projects/neva/cmd/lsp/server/handler.go:40 +0x20e
github.com/tliron/glsp/server.(*Server).handle(0xc000216c00, {0xb209b0, 0xf1ffa0}, 0xc0001fc1b0, 0xc000216ea0)
/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/server/handle.go:46 +0x276
github.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc000034dd0, {0xb209b0, 0xf1ffa0}, 0xc0001fc1b0, 0xc000216ea0)
/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x57
github.com/sourcegraph/jsonrpc2.(*Conn).readMessages(0xc0001fc1b0, {
2025-02-13 13:10:08.094 [error] [Extension Host] 0xb209b0, 0xf1ffa0})
/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:205 +0x2dd
created by github.com/sourcegraph/jsonrpc2.NewConn in goroutine 1
/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:62 +0x1e6

2025-02-13 13:10:08.133 [error] [Extension Host] 2025/02/13 13:10:08.111  INFO [neva.server] reading from stdin, writing to stdout

2025-02-13 13:10:08.209 [error] [Extension Host] panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8fabb9]

goroutine 9 [running]:
github.com/nevalang/neva/cmd/lsp/server.(*Server).indexAndNotifyProblems(0xc0000de380, 0xc0002f60f0)
/Users/emil/projects/neva/cmd/lsp/server/server.go:71 +0x2d9
github.com/nevalang/neva/cmd/lsp/server.(*Server).Initialized(...)
/Users/emil/projects/neva/cmd/lsp/server/general_messages.go:21
github.com/tliron/glsp/protocol_3_16.(*Handler).Handle(0xc000284000, 0xc0001e4ec0)
/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/protocol_3_16/handler.go:138 +0x619
github.com/nevalang/neva/cmd/lsp/server.Handler.Handle({0xc000284000?, 0x0?}, 0xc0001e4ec0)
/Users/emil/projects/neva/cmd/lsp/server/handler.go:40 +0x20e
github.com/tliron/glsp/server.(*Server).handle(0xc00009f1a0, {0xb209b0, 0xf1ffa0}
2025-02-13 13:10:08.209 [error] [Extension Host] , 0xc0000c42d0, 0xc00009f3e0)
/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/server/handle.go:46 +0x276
github.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc000035e00, {0xb209b0, 0xf1ffa0}, 0xc0000c42d0, 0xc00009f3e0)
/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x57
github.com/sourcegraph/jsonrpc2.(*Conn).readMessages(0xc0000c42d0, {0xb209b0, 0xf1ffa0})
/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:205 +0x2dd
created by github.com/sourcegraph/jsonrpc2.NewConn in goroutine 1
/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:62 +0x1e6
Свернуть
message.txt
4 кб
this happens 5 times
at least i assume it's 5
based on the number of crashes listed in log
Emil Valeev (Neva Creator) — Сегодня, в 00:11
thank you, this is enough for me to dive in, I'll try to fix asap and will get back to you with new version
Clouds — Сегодня, в 00:12
oh i also found 5 of the logs u were talking about, misunderstood earlier
Content-Length: 520

{"id":0,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"willSave":true,"willSaveWaitUntil":true,"save":true},"completionProvider":{},"renameProvider":true,"executeCommandProvider":{"commands":null},"workspaceSymbolProvider":true,"workspace":{"fileOperations":{"didCreate":{"filters":[]},"willCreate":{"filters":[]},"didRename":{"filters":[]},"willRename":{"filters":[]},"didDelete":{"filters":[]},"willDelete":{"filters":[]}}}},"serverInfo":{"name":"neva","version":"0.30.1"}},"jsonrpc":"2.0"}
it's this for each

2025-02-13 13:10:07.915 [error] [Extension Host] 2025/02/13 13:10:07.912  INFO [neva.server] reading from stdin, writing to stdout

2025-02-13 13:10:08.081 [error] [Extension Host] panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8fabb9]

goroutine 4 [running]:
github.com/nevalang/neva/cmd/lsp/server.(*Server).indexAndNotifyProblems(0xc0002140e0, 0xc0002aad20)
	/Users/emil/projects/neva/cmd/lsp/server/server.go:71 +0x2d9
github.com/nevalang/neva/cmd/lsp/server.(*Server).Initialized(...)
	/Users/emil/projects/neva/cmd/lsp/server/general_messages.go:21
github.com/tliron/glsp/protocol_3_16.(*Handler).Handle(0xc00023a000, 0xc0000578c0)
	/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/protocol_3_16/handler.go:138 +0x619
github.com/nevalang/neva/cmd/lsp/server.Handler.Handle({0xc00023a000?, 0x0?}, 0xc0000578c0)
	/Users/emil/projects/neva/cmd/lsp/server/handler.go:40 +0x20e
github.com/tliron/glsp/server.(*Server).handle(0xc000216c00, {0xb209b0, 0xf1ffa0}, 0xc0001fc1b0, 0xc000216ea0)
	/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/server/handle.go:46 +0x276
github.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc000034dd0, {0xb209b0, 0xf1ffa0}, 0xc0001fc1b0, 0xc000216ea0)
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x57
github.com/sourcegraph/jsonrpc2.(*Conn).readMessages(0xc0001fc1b0, {
2025-02-13 13:10:08.094 [error] [Extension Host] 0xb209b0, 0xf1ffa0})
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:205 +0x2dd
created by github.com/sourcegraph/jsonrpc2.NewConn in goroutine 1
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:62 +0x1e6

2025-02-13 13:10:08.133 [error] [Extension Host] 2025/02/13 13:10:08.111  INFO [neva.server] reading from stdin, writing to stdout

2025-02-13 13:10:08.209 [error] [Extension Host] panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8fabb9]

goroutine 9 [running]:
github.com/nevalang/neva/cmd/lsp/server.(*Server).indexAndNotifyProblems(0xc0000de380, 0xc0002f60f0)
	/Users/emil/projects/neva/cmd/lsp/server/server.go:71 +0x2d9
github.com/nevalang/neva/cmd/lsp/server.(*Server).Initialized(...)
	/Users/emil/projects/neva/cmd/lsp/server/general_messages.go:21
github.com/tliron/glsp/protocol_3_16.(*Handler).Handle(0xc000284000, 0xc0001e4ec0)
	/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/protocol_3_16/handler.go:138 +0x619
github.com/nevalang/neva/cmd/lsp/server.Handler.Handle({0xc000284000?, 0x0?}, 0xc0001e4ec0)
	/Users/emil/projects/neva/cmd/lsp/server/handler.go:40 +0x20e
github.com/tliron/glsp/server.(*Server).handle(0xc00009f1a0, {0xb209b0, 0xf1ffa0}
2025-02-13 13:10:08.209 [error] [Extension Host] , 0xc0000c42d0, 0xc00009f3e0)
	/Users/emil/go/pkg/mod/github.com/tliron/[email protected]/server/handle.go:46 +0x276
github.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc000035e00, {0xb209b0, 0xf1ffa0}, 0xc0000c42d0, 0xc00009f3e0)
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x57
github.com/sourcegraph/jsonrpc2.(*Conn).readMessages(0xc0000c42d0, {0xb209b0, 0xf1ffa0})
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:205 +0x2dd
created by github.com/sourcegraph/jsonrpc2.NewConn in goroutine 1
	/Users/emil/go/pkg/mod/github.com/sourcegraph/[email protected]/conn.go:62 +0x1e6
message.txt
4 кб

@emil14 emil14 moved this to In Progress in Nevalang Project Feb 14, 2025
@emil14 emil14 moved this from In Progress to Done in Nevalang Project Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant