Skip to content

Commit ccbc0c6

Browse files
committed
Fixed wrong condition in SignatureHelp handler
1 parent 14274fa commit ccbc0c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ls/ls.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ func (ls *INOLanguageServer) TextDocumentSignatureHelpReqFromIDE(ctx context.Con
452452

453453
logger.Logf("%s", inoTextDocumentPosition)
454454
cppTextDocumentPosition, err := ls.ino2cppTextDocumentPositionParams(logger, inoTextDocumentPosition)
455-
if err == nil {
455+
if err != nil {
456456
logger.Logf("Error: %s", err)
457457
return nil, &jsonrpc.ResponseError{Code: jsonrpc.ErrorCodesInternalError, Message: err.Error()}
458458
}

0 commit comments

Comments
 (0)