Skip to content

Translate table injection diag and fix some issues #2291

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

firas-assaad
Copy link
Contributor

In the following example:

---@param t { x: integer }
local function test(t)
    t.w = 1
end

I get this message: Fields cannot be injected into the reference of { x: integer } for w. 如要允许注入,请在定义中添加 [any]: any

I translated the message after checking Google Translate and DeepL. I also fixed a couple of typos and removed outdated translation TODOs.

@sumneko sumneko merged commit f796504 into LuaLS:master Aug 29, 2023
@sumneko
Copy link
Collaborator

sumneko commented Aug 29, 2023

Thank you!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants