We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug A Bound variable in pattern: Var error is generated for maybe expressions that bind a variable in their else patterns:
Bound variable in pattern: Var
else
foo() -> maybe foo ?= bar() else e = Error -> Error % ^- Bound variable in pattern: Error end.
To Reproduce Use the code above.
Expected behavior No 'bound variable in pattern' hint is generated.
Actual behavior A 'bound variable in pattern' hint is generated even though the variable is not already bound.
Context
erlang_ls
Version: 0.52.0+build.1987.ref8700e96
The text was updated successfully, but these errors were encountered:
Can confirm it on the same version, but in nvim v0.9.4 editor and coc 0.0.82 LSP client.
nvim v0.9.4
coc 0.0.82
Sorry, something went wrong.
maybe_match_expr
else_expr
Successfully merging a pull request may close this issue.
Describe the bug
A
Bound variable in pattern: Var
error is generated for maybe expressions that bind a variable in theirelse
patterns:To Reproduce
Use the code above.
Expected behavior
No 'bound variable in pattern' hint is generated.
Actual behavior
A 'bound variable in pattern' hint is generated even though the variable is not already bound.
Context
erlang_ls
version (tag/sha):Version: 0.52.0+build.1987.ref8700e96
The text was updated successfully, but these errors were encountered: