fix col err said rows

This commit is contained in:
kalsprite
2026-08-04 18:32:53 -07:00
parent dc28a91e88
commit fa3ea5461c

View File

@@ -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);
}
}