From bf804fa1e18c717cec3944f5edea858a2f3a015d Mon Sep 17 00:00:00 2001
From: Kimplul <kimi.h.kuparinen@gmail.com>
Date: Sat, 28 Dec 2024 16:40:41 +0200
Subject: enough type checking for all examples to pass

---
 src/debug.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/debug.c')

diff --git a/src/debug.c b/src/debug.c
index f823442..ecb03e3 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -168,10 +168,12 @@ static void _type_str(FILE *f, struct type *type)
 
 	case TYPE_PTR:
 		fprintf(f, "*");
+		_type_list_str(f, tptr_base(type));
 		break;
 
 	case TYPE_REF:
 		fprintf(f, "&");
+		_type_list_str(f, tref_base(type));
 		break;
 
 	case TYPE_ID:
-- 
cgit v1.2.3