diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-08-10 16:23:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-08-10 16:23:01 +0800 |
commit | c3c73efb8fbb3e37d0191d3f924283861218a358 (patch) | |
tree | fe449ebf84ac56cd9a8928adba04093126997830 /script/vm | |
parent | b778d586096ecfe40832ebf8fd3d795a3d4947dc (diff) | |
download | lua-language-server-c3c73efb8fbb3e37d0191d3f924283861218a358.zip |
enable `as` table
#2144
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/compiler.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index a6b95b7c..a4147d70 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1153,6 +1153,9 @@ local compilerSwitch = util.switch() end) : case 'table' : call(function (source) + if vm.bindAs(source) then + return + end vm.setNode(source, source) if source.parent.type == 'callargs' then |