aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-11 17:41:55 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-11 17:41:55 +0100
commit4bf1f798f5e07bbadb58d4ceacbcade4a43d8bd2 (patch)
treef65e6970f9654f7fedc0f016c2c40f032518e110 /src/types.cpp
parentb2fdb69b4dd7f52f42414139a257b3800eb51a90 (diff)
Allow for ignoring named procedural call arguments with `_`
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 4c02e2283..f8b6eba16 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -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 {