aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-07-31 12:11:31 +0100
committergingerBill <bill@gingerbill.org>2023-07-31 12:11:31 +0100
commitf17077c05cfcb9632ee12619bdc01f4e10ea8930 (patch)
treea7fa9139748ffef64215c35dba42fdf11429a84d
parent8aa36072fccdc47ceaef6861ceaa66329fd73c42 (diff)
Remove debug code
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index b6bb7d819..a97a8d312 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -2466,7 +2466,7 @@ gb_internal void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags)
}
if (check_vet_flags(node) & VetFlag_UsingStmt) {
ERROR_BLOCK();
- error(node, "'using' as a statement is now allowed when '-vet' or '-vet-using' is applied %llu %llu", check_vet_flags(ctx), node->file()->vet_flags);
+ error(node, "'using' as a statement is now allowed when '-vet' or '-vet-using' is applied");
error_line("\t'using' is considered bad practice to use as a statement outside of immediate refactoring\n");
}