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
Just a comment for later: I think our code will be easier to follow if we make invoke-message-handler handle two special kinds of errors, "error" and "aborted"?, which send the error's error message with show-error and show-info respectively. Then we can get rid of all the if/else nesting and use early return style:
if (problem-one)
signal-lsp-error("i had problem one";
end;
...
if (problem-two)
signal-lsp-info("i had problem two");
end;
... all good; handle the message...
Just a comment for later: I think our code will be easier to follow if we make
invoke-message-handler
handle two special kinds of errors, "error" and "aborted"?, which send the error's error message withshow-error
andshow-info
respectively. Then we can get rid of all theif/else
nesting and use early return style:Originally posted by @cgay in #14 (comment)
The text was updated successfully, but these errors were encountered: