diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-30 23:27:30 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-30 23:27:30 -0400 |
commit | 184e247a680c7889863f1b6676883d3cfa87eaba (patch) | |
tree | c962d34bf533b6c394b1626b0c385c2492672271 /types.c | |
parent | 4ee46b53971e876d93fea0c0a2ba358cad51be21 (diff) |
small struct fixes
Diffstat (limited to 'types.c')
-rw-r--r-- | types.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1206,7 +1206,7 @@ static bool types_decl(Typer *tr, Declaration *d) { size_t n_idents = arr_len(d->idents); if (d->type.kind == TYPE_TUPLE) { if (n_idents != arr_len(d->type.tuple)) { - err_print(d->where, "Expected to have %lu things declared in declaration, but got %lu.", (unsigned long)n_idents); + err_print(d->where, "Expected to have %lu things declared in declaration, but got %lu.", (unsigned long)arr_len(d->type.tuple), (unsigned long)n_idents); success = false; goto ret; } |