1
0
mirror of https://github.com/golang/go synced 2024-09-29 09:24:28 -06:00

go/types, types2: fix typo in comment

Change-Id: I410c5fdd9fa3aa7ce5eb1d688621c7684f03a6f9
GitHub-Last-Rev: c3f53de27f
GitHub-Pull-Request: golang/go#65950
Reviewed-on: https://go-review.googlesource.com/c/go/+/566858
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
guoguangwu 2024-02-27 05:18:10 +00:00 committed by Robert Griesemer
parent ccbc725f2d
commit f326b3e2b3
2 changed files with 2 additions and 2 deletions

View File

@ -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.
}

View File

@ -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.
}