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:
parent
ccbc725f2d
commit
c3f53de27f
@ -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.
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user