mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-06 12:52:49 -04:00
Allow for ignoring named procedural call arguments with _
This commit is contained in:
1 parent
b2fdb69b4d
commit
4bf1f798f5
2 files changed
+14
-9
No files matched your search
+1
-1
@@ -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