Open alanz opened 3 years ago
Interesting. Looking at the upstream version of TypEr, I noticed two things:
none
as a fatal error.Will need to check this deeper, thanks for the report!
Replying to myself. After importing it, I modified els_typer
according to our needs. The handling of none
was removed as part of that effort.
@alanz I'm not able to reproduce this issue. Can I ask you which module in OTP you tried to access?
Describe the bug My emacs session slows down terribly when I open an OTP erlang source file.
The reported stack trace is
The offending line is the case caluse below, where
map__lookup/2
returnsnone
if the lookup fails.To Reproduce Open an erlang file, go to definition to something in OTP
Expected behavior Responsive language server experience browsing the code
Actual behavior Very sluggish behaviour, as the emacs
*lsp-log*
buffer rapidly becomes very large.Context
erlang_ls
version (tag/sha): d5e02ef741f0007d8d76ed405a3259de23841a95