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

更准确的类型诊断 #1269

Closed
CandyMi opened this issue Jul 1, 2022 · 0 comments
Closed

更准确的类型诊断 #1269

CandyMi opened this issue Jul 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@CandyMi
Copy link

CandyMi commented Jul 1, 2022

image

-- main
local pack = string.pack(">I2", 1234)

使用any来标记类型可以避免警告, 并且一般情况下string.pack可以支持stringintegernumberstring.

望修改. : )

@sumneko sumneko added the bug Something isn't working label Jul 2, 2022
@sumneko sumneko closed this as completed in 1b23b28 Jul 4, 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