Fix behavior when calling different types

This Closes #5 and exposes something that I was not aware of:
lua seems to perform shallow copies when doing table assignments
This commit is contained in:
Daniel Mathiot
2021-08-27 13:17:27 +02:00
parent d3d8a12315
commit b525173cd7
2 changed files with 11 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ return {
jsdoc = {
{ nil, "/* */", { no_results = true } },
{ nil, "/**" },
{ "class_tag", " * @classdesc", { before_first_item = { " * ", " * @class" } } },
{ "class_tag", " * @classdesc", { before_first_item = { " * ", " * @class" }, type = { "class" } } },
{ "parameters", " * @param {any} %s " },
{ "return_statement", " * @returns {any} " },
{ nil, " */" },