diff --git a/src/cmd/compile/internal/types2/decl.go b/src/cmd/compile/internal/types2/decl.go index fd9a90e1ae3..8c3a446ad46 100644 --- a/src/cmd/compile/internal/types2/decl.go +++ b/src/cmd/compile/internal/types2/decl.go @@ -431,7 +431,7 @@ func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init syntax.Expr) { // if any, would not be checked. // // TODO(gri) If we have no init expr, we should distribute - // a given type otherwise we need to re-evalate the type + // a given type otherwise we need to re-evaluate the type // expr for each lhs variable, leading to duplicate work. } diff --git a/src/go/types/decl.go b/src/go/types/decl.go index 3994d1650f6..bed066ac901 100644 --- a/src/go/types/decl.go +++ b/src/go/types/decl.go @@ -502,7 +502,7 @@ func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init ast.Expr) { // if any, would not be checked. // // TODO(gri) If we have no init expr, we should distribute - // a given type otherwise we need to re-evalate the type + // a given type otherwise we need to re-evaluate the type // expr for each lhs variable, leading to duplicate work. }