We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ee395d commit 81daa7fCopy full SHA for 81daa7f
1 file changed
src/yuescript/yue_ast.cpp
@@ -83,7 +83,11 @@ std::string VarArg_t::to_string(void*) const {
83
return "..."s;
84
}
85
std::string VarArgDef_t::to_string(void* ud) const {
86
- return "..."s + name->to_string(ud);
+ if (name) {
87
+ return "..."s + name->to_string(ud);
88
+ } else {
89
+ return "..."s;
90
+ }
91
92
std::string Seperator_t::to_string(void*) const {
93
return {};
0 commit comments