src/go/types/stmt.go | 2 +- diff --git a/src/go/types/stmt.go b/src/go/types/stmt.go index ab320088b074241184dc9edbef63262b560d7321..5221bcc7c1288d3e33552884900b286e572aba20 100644 --- a/src/go/types/stmt.go +++ b/src/go/types/stmt.go @@ -732,7 +732,7 @@ // declaration, but the post statement must not." if s, _ := s.Post.(*ast.AssignStmt); s != nil && s.Tok == token.DEFINE { check.softErrorf(s.Pos(), "cannot declare in post statement") // Don't call useLHS here because we want to use the lhs in - // this errroneous statement so that we don't get errors about + // this erroneous statement so that we don't get errors about // these lhs variables being declared but not used. check.use(s.Lhs...) // avoid follow-up errors }