You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def go_to_definition(id: int, params: DefinitionParams) {
let path = uri_to_path(params.textDocument.uri)
let module = toolchain::find_module_by_path(path)
if not module { send_reply(id, null); return }
let node = find_node_at(module, params.position)
if not node { send_reply(id, null); return } // <- Cleanup of the underscore happens here
var sloc: parser::SourceLoc
let name, _ = find_member(node) // <- Underscore should come in here
...
}
Clearly this is some bug with a variable being used before its defined.
The text was updated successfully, but these errors were encountered:
The function in question in
server.pr
:Clearly this is some bug with a variable being used before its defined.
The text was updated successfully, but these errors were encountered: