We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
root ERROR Arduino: panic: runtime error: slice bounds out of range goroutine 22 [running]: root ERROR Arduino: github.com/bcmi-labs/arduino-language-server/handler.applyTextChange(0xc000240000, 0x7e, 0x7, 0x2e, 0x8, 0x0, 0x0, 0x0, 0x10114e9, 0xc0001b0000) /Users/vsts/agent/2.155.1/work/1/s/handler/sourcemap.go:120 +0x2e5 github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).updateFileData(0xc0000b8000, 0xc0000dc320, 0xc00023c180, 0x6a, 0xc0000d31a0) /Users/vsts/agent/2.155.1/work/1/s/handler/handler.go:323 +0x562 github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).ino2cppDidChangeTextDocumentParams(0xc0000b8000, 0xc0000784b0, 0x16, 0x1) /Users/vsts/agent/2.155.1/work/1/s/handler/handler.go:435 +0x109 github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).transformParamsToClangd(0xc0000b8000, 0x11a0620, 0xc0000a0000, 0xc0001babe0, 0x16, 0x1131000, 0xc0000784b0, 0x0, 0x0, 0x0, ...) /Users/vsts/agent/2.155.1/work/1/s/handler/handler.go:219 +0x497 github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).FromStdio(0xc0000b8000, 0x11a0620, 0xc0000a0000, 0xc0000f4080, 0xc0001c60f0, 0x0, 0x0, 0x0, 0x0) /Users/vsts/agent/2.155.1/work/1/s/handler/handler.go:119 +0x595 github.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc0000c2060, 0x11a0620, 0xc0000a0000, 0xc0000f4080, 0xc0001c60f0) /Users/vsts/go/pkg/mod/github.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x73 created by github.com/sourcegraph/jsonrpc2.asyncHandler.Handle /Users/vsts/go/pkg/mod/github.com/sourcegraph/[email protected]/async.go:16 +0x6b
The text was updated successfully, but these errors were encountered:
Make sourcemaps more resilient against out-of-range modifications
0c49ea8
Fixes #6
c69c21f
209f171
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: