1
0
mirror of https://github.com/golang/go synced 2024-11-17 03:04:44 -07:00

go/types, types2: fix typo in comment

Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
This commit is contained in:
guoguangwu 2024-02-27 13:11:57 +08:00
parent ccbc725f2d
commit c3f53de27f
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.
}