-
Notifications
You must be signed in to change notification settings - Fork 136
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
Dialyzer fails to suggest Specs for module - "Cannot extract typer info." #1343
Labels
bug
Something isn't working
Comments
Deleting the logs & reloading the window, I can see that the following errors appear to predate the warning.
I'm unsure if they're related but the problematic module is a gen_server My erlang_ls.config looks like this otp_path: "/usr/local/lib/erlang"
deps_dirs:
- "lib/*"
- "deps/*"
apps_dirs:
- "."
- "apps/*"
include_dirs:
- "include"
- "src"
- "deps"
- "_build/default/lib"
diagnostics:
enabled:
- bound_var_in_pattern
- compiler
- crossref
- dialyzer
- unused_includes
- unused_macros
disabled:
- elvis
lenses:
enabled:
- ct-run-test
- function-references
- server-info
- show-behaviour-usages
- suggest-spec
plt_path: ".app.plt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When navigating through a project, some files consistently fail to suggest specs and suggest to view the log wherein I can see the following:
To Reproduce
Unsure, the modules that this occur in don't appear special in any way. I can't provide the code as it's commercial, however I can test potential fixes.
Expected behavior
Specs to appear on the functions
Actual behavior
A lense appears above the functions stating
Cannot extract specs (check logs for details)
Context
erlang_ls
version (tag/sha): 274beb7The text was updated successfully, but these errors were encountered: