diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-06-25 15:03:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-06-25 15:03:20 +0800 |
commit | 5abdc683b2577131d96db210987e37e4e99203fc (patch) | |
tree | 80511c8d54c953170263076bfa9fef9e5bd53a1a /script/parser | |
parent | 0d178e1c2336022c7d9996367cfe2fd0fce91857 (diff) | |
download | lua-language-server-5abdc683b2577131d96db210987e37e4e99203fc.zip |
fix
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/compile.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua index e09c958f..6542efbd 100644 --- a/script/parser/compile.lua +++ b/script/parser/compile.lua @@ -2313,7 +2313,12 @@ local function parseFunction(isLocal, isAction) local params if func.name and func.name.type == 'getmethod' then if func.name.type == 'getmethod' then - params = {} + params = { + type = 'funcargs', + start = funcRight, + finish = funcRight, + parent = func + } params[1] = createLocal { start = funcRight, finish = funcRight, |