improve error info when lack arguments

in function call
This commit is contained in:
ValKmjolnir
2023-10-14 00:39:25 +08:00
parent 80f9fc5842
commit ecfb679218
8 changed files with 108 additions and 63 deletions

View File

@@ -93,7 +93,7 @@ std::ostream& operator<<(std::ostream& out, nas_hash& hash) {
}
void nas_func::clear() {
dpara = -1;
dynamic_parameter_index = -1;
local.clear();
upval.clear();
keys.clear();