Browse Source

Remove debug code

gingerBill 4 years ago
parent
commit
8af6b6fa18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/check_builtin.cpp

+ 1 - 1
src/check_builtin.cpp

@@ -753,7 +753,7 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32
 			field_name = field_arg->tav.value.value_string;
 		}
 		if (field_name.len == 0) {
-			error(field_arg, "Expected a constant (non-empty) string for field argument: %d", field_arg->tav.value.kind);
+			error(field_arg, "Expected a constant (non-empty) string for field argument");
 			return false;
 		}