Duncan

Results 5 comments of Duncan

Like [Goto Type Definition](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_typeDefinition), the [Goto Definition](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_definition) request consists of a file id and then a cursor offset. Currently, Goto *Type* Definition links to `Range` in the following cases... |...

I reproduced this on macOS. @ronag I'd like to try and tackle this one.

So the root cause of this problem is 32-bit integer overflow in `SlowCopy` in `node_buffer.cc` [here]( https://github.com/nodejs/node/blob/ee46d2297c648dc6cc8cbc0327c453514b878294/src/node_buffer.cc#L575-L577). ```cpp const auto target_start = args[2]->Uint32Value(env->context()).ToChecked(); const auto source_start = args[3]->Uint32Value(env->context()).ToChecked(); const auto...