Skip to content

Commit

Permalink
Remove single quote in error message (#4553)
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz authored Apr 27, 2023
1 parent f0e12da commit 1874aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/semantic/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ func semAssignment(scope *Scope, a ast.Assignment, summarize bool) (dag.Assignme
// Make sure we have a valid lval for lhs.
this, ok := lhs.(*dag.This)
if !ok {
return dag.Assignment{}, errors.New("illegal left-hand side of assignment'")
return dag.Assignment{}, errors.New("illegal left-hand side of assignment")
}
if len(this.Path) == 0 {
return dag.Assignment{}, errors.New("cannot assign to 'this'")
Expand Down

0 comments on commit 1874aeb

Please sign in to comment.