From dd9f8fccf405af709c1d655dbec4be1561e990c0 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 30 May 2026 23:04:48 +0200 Subject: Define name resolution behavior, clean-up langauge object resolution Signed-off-by: Mel --- boot/visit/ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/visit/ir.c') diff --git a/boot/visit/ir.c b/boot/visit/ir.c index ca32a1e..8a0297b 100644 --- a/boot/visit/ir.c +++ b/boot/visit/ir.c @@ -467,7 +467,7 @@ struct Type* printer_type_at(struct Printer* p, Type_Id id) { if (id >= array_length(&p->unit->types.entries)) return nil; - return *array_at(struct Type*, &p->unit->types.entries, id); + return unit_get_type(p->unit, id); } void -- cgit 1.4.1