From 2d8d5ffaee9701955828413f844afa1b3767f748 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jan 2025 00:52:21 +0200 Subject: futher struct continuation work --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debug.c') diff --git a/src/debug.c b/src/debug.c index f91accd..0908ee5 100644 --- a/src/debug.c +++ b/src/debug.c @@ -294,7 +294,7 @@ static void _type_str(FILE *fp, struct type *type) fprintf(fp, "%s", trait_id(def)); } - if (struct_params(def)) { + if (trait_params(def)) { fprintf(fp, "!["); _param_str(fp, trait_params(def)); fprintf(fp, "]"); -- cgit v1.3