mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Allow for ignoring named procedural call arguments with _
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user