diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/plugins/astHelper.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugins/astHelper.lua b/script/plugins/astHelper.lua index b12d62c6..61b3f890 100644 --- a/script/plugins/astHelper.lua +++ b/script/plugins/astHelper.lua @@ -38,7 +38,7 @@ end ---@param index integer ---@return parser.object? function _M.removeArg(source, index) - if source.type == 'function' then + if source.type == 'function' or source.type == 'call' then local arg = table.remove(source.args, index) if not arg then return nil |