Allow for ignoring named procedural call arguments with _

This commit is contained in:
Ginger Bill
2017-06-11 17:41:55 +01:00
parent b2fdb69b4d
commit 4bf1f798f5
2 changed files with 14 additions and 9 deletions

View File

@@ -2291,7 +2291,7 @@ gbString write_type_to_string(gbString str, Type *type) {
}
if (var->flags&EntityFlag_Ellipsis) {
Type *slice = base_type(var->type);
str = gb_string_appendc(str, "...");
str = gb_string_appendc(str, "..");
GB_ASSERT(is_type_slice(var->type));
str = write_type_to_string(str, slice->Slice.elem);
} else {