mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 05:08:14 +00:00
Remove debug code
This commit is contained in:
+1
-1
@@ -2466,7 +2466,7 @@ gb_internal void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags)
|
|||||||
}
|
}
|
||||||
if (check_vet_flags(node) & VetFlag_UsingStmt) {
|
if (check_vet_flags(node) & VetFlag_UsingStmt) {
|
||||||
ERROR_BLOCK();
|
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");
|
error_line("\t'using' is considered bad practice to use as a statement outside of immediate refactoring\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user