-
-
Notifications
You must be signed in to change notification settings - Fork 389
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
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?
Diagnostics/Syntax Checking
Expected Behaviour
The Lua Diagnostics should not show unused-local, missing-return when formatting a definition function in multiline.
Actual Behaviour
The Lua Diagnostics show unused-local, missing-return when formatting definition in multiline.
Reproduction steps
- Create a
test.luafile - Paste this code:
---@meta
---**`ENTITY` `client` [`0xBE8CD9BE829BBEBF`](https://docs.fivem.net/natives/?_0xBE8CD9BE829BBEBF)**
---
---```
---NativeDB Introduced: v1604
---```
---
---@param entity Entity
---@param bulletProof boolean
---@param fireProof boolean
---@param explosionProof boolean
---@param collisionProof boolean
---@param meleeProof boolean
---@param steamProof boolean
---@param p7 boolean
---@param drownProof boolean
---@return boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean
function GetEntityProofs(
entity,
bulletProof,
fireProof,
explosionProof,
collisionProof,
meleeProof,
steamProof,
p7,
drownProof
)
end- The
Lua Diagnosticswill showunused-local,missing-return.
Additional Notes
Log File
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

