-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
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
(void-variable it)
errors when starting omnisharp server with Emacs 28 native comp
#521
Comments
Hi @Ruin0x11 -- just noticed your issue on doom emacs :) I just started running emacs28+nativecomp myself (albeit with lsp-mode) -- but will try to see what little fix can be done to aleviate this issue. |
Hmm, I could not replicate this issue on my mac with latest doom emacs. Do you have the latest omnisharp-emacs/doom installed? Do you have any specific project settings? I installed server using M-x omnisharp-install-server and my test projects has succeeded in loading it. |
I think this is the problem from |
Sorry, I had only noticed this repo was deprecated in favor of I should at least mention that I reinstalled dash and my entire Emacs system again, but those didn't fix the problem. I'm using Windows Server 2019. I'll close this for now. |
I try to maintain this once a while to fix breakages, but no new features are planned. |
@razzmatazz any work around for this? Having the same issue on emacs28+nativecomp myself. I prefer this package to lsp for some feature like symbol-rename and jump to a definition imported from a .dll. Thanks for your work and inputs. |
I managed to replicate this myself with emacs28+nativecomp. Running the code under non-nativecomp (regular) build apparently does NOT trigger the issue.. |
On a related note, @CsBigDataHub can you vouch for my PR OmniSharp/omnisharp-roslyn#2079 where I am trying to merge in my changes so jump-to-definition-in-dll would work in LSP mode for omnisharp-roslyn? :) I can't get them to review/merge my PR so that one is stuck... |
Sure, let me build the project with your PR and test it out. Will update soon. |
Btw I fixed this by adding (require 'dash) to every single file in the omnisharp project |
…cs28 w/native comp Related to: - (void-variable it) errors when starting omnisharp server with Emacs 28 native comp OmniSharp#521
I have merged a PR that attempts to fix this issue with the change proposed by @rtnlmeme-DestroyerOfDeath -- will take some time to be updated to melpa. |
This may be related to #516.
Using Emacs 28 with native compilation enabled, this error occurs when starting the server.
If I add these lines to my config the error stops occurring.
The text was updated successfully, but these errors were encountered: