From 7f507a70269086404cc43c391193f42ae7523111 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 10 Apr 2022 16:13:40 -0400 Subject: [PATCH] Fix incorrect formatting arguments --- compiler/ircheck/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ircheck/check.go b/compiler/ircheck/check.go index bbedc627..30c6ee17 100644 --- a/compiler/ircheck/check.go +++ b/compiler/ircheck/check.go @@ -31,7 +31,7 @@ func (c *checker) checkType(t llvm.Type, checked map[llvm.Type]struct{}, special return fmt.Errorf("type %q uses global context", t.String()) default: // we used some other context by accident - return fmt.Errorf("type %q uses context %v instead of the main context %v", t.Context(), c.ctx) + return fmt.Errorf("type %q uses context %v instead of the main context %v", t.String(), t.Context(), c.ctx) } // if this is a composite type, check the components of the type