diff --git a/vlib/v/checker/assign.v b/vlib/v/checker/assign.v index 94c8045e7878d0..75b1b0189e78f6 100644 --- a/vlib/v/checker/assign.v +++ b/vlib/v/checker/assign.v @@ -141,7 +141,7 @@ fn (mut c Checker) assign_stmt(mut node ast.AssignStmt) { } } else if mut left is ast.Ident && node.op == .decl_assign { if left.name in c.global_names { - c.error('already exists a global variable named `${left.name}`', left.pos) + c.error('the global variable named `${left.name}` already exists', left.pos) } } is_blank_ident := left.is_blank_ident()