From fa3ea5461c97dc76d54fea487d7d4fab5ca7ad70 Mon Sep 17 00:00:00 2001 From: kalsprite Date: Tue, 4 Aug 2026 18:32:53 -0700 Subject: [PATCH] fix col err said rows --- src/check_type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_type.cpp b/src/check_type.cpp index be06ca108..21b9369b7 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -3121,7 +3121,7 @@ gb_internal void check_matrix_type(CheckerContext *ctx, Type **type, Ast *node) error(node, "Invalid matrix column count, got nothing"); } else { gbString s = expr_to_string(column.expr); - error(column.expr, "Invalid matrix column count, expected %d+ rows, got %s", MATRIX_ELEMENT_COUNT_MIN, s); + error(column.expr, "Invalid matrix column count, expected %d+ columns, got %s", MATRIX_ELEMENT_COUNT_MIN, s); gb_string_free(s); } }