Skip to content

Multiple return parameters are truncated and generate invalid warning #1131

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

Closed
sewbacca opened this issue May 9, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@sewbacca
Copy link
Contributor

sewbacca commented May 9, 2022

Describe the bug
When returning multiple parameters, somehow the language server ignores tha last ones, and decides that there are missing parameters, when in fact they are not.

To Reproduce
Steps to reproduce the behavior:

  1. Create a function that returns two or more values
  2. Create a function that takes at least as many parameters as the function just returns
  3. Call them appropriatly nested
  4. See warning

Expected behavior
No warning

Screenshots
grafik

Environment (please complete the following information):

  • OS: Windows
  • No WSL
  • Client: VSCode
@sewbacca
Copy link
Contributor Author

sewbacca commented May 9, 2022

Same issue with ...

@sumneko sumneko added the bug Something isn't working label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants