Skip to content

Multiple return parameters are truncated and generate invalid warning #1131

@sewbacca

Description

@sewbacca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions