Skip to content

Incorrect prompt when entering parameters #536

@serg3295

Description

@serg3295

Describe the bug
When entering function parameters, the prompt for the next parameter is displayed incorrectly if 'alias' is one of parameters.

To Reproduce

---@alias name_al number
---| 'al1' # al1
---| 'al2' # al2

---description
---@param pal number
---@param pa2 name_al
---@param pa3 number
---@param pa4 number
function foo(pal, pa2, pa3, pa4) end

Screenshots
luasrv10

Environment

  • OS: Windows, Mint
  • Is WSL remote? no
  • 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