summaryrefslogtreecommitdiff
path: root/script/parser/newparser.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-15 00:40:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-15 00:40:19 +0800
commite868888ba9a4b45b23cf07fef2e570ed9a27bc4e (patch)
tree68bfd191db93d32b3ee3bfa69eea19a477116a2a /script/parser/newparser.lua
parent951fb08508cb341e3190be53199cc337b44788cf (diff)
downloadlua-language-server-e868888ba9a4b45b23cf07fef2e570ed9a27bc4e.zip
cleanup
Diffstat (limited to 'script/parser/newparser.lua')
-rw-r--r--script/parser/newparser.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index ea4ad2c7..8b5e6ee8 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -1752,7 +1752,6 @@ local function addDummySelf(node, call)
local self = createLocal {
start = node.colon.start,
finish = node.colon.finish,
- method = node,
parent = call.args,
[1] = 'self',
}
@@ -2301,7 +2300,6 @@ local function parseFunction(isLocal, isAction)
params[1] = createLocal {
start = funcRight,
finish = funcRight,
- method = func.name,
parent = params,
[1] = 'self',
}