Skip to content
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

参数位置提示异常 #1499

Closed
Whimsyduke opened this issue Aug 26, 2022 · 0 comments
Closed

参数位置提示异常 #1499

Whimsyduke opened this issue Aug 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Whimsyduke
Copy link

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Annotations, Type Checking

Expected Behaviour

参数位置应该正确

Actual Behaviour

image
简单来说就是如果参数列表中的某个参数被展开显示,使用方法时参数位置提示会出错

Reproduction steps

---@alias A { x:number, y:number, z:number, } 

---comment
---@param a A
---@param b string
function X(a, b)
    
end

X({}, '')

Additional Notes

No response

Log File

No response

@sumneko sumneko added the bug Something isn't working label Aug 26, 2022
@sumneko sumneko closed this as completed in f7f0929 Sep 6, 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