mirror of
https://github.com/golang/go
synced 2024-11-05 19:36:10 -07:00
go/types: fix minor typo in comment
Change-Id: I2d696655c409f94a5ab6a3837b4b83bc7eb0b15d Reviewed-on: https://go-review.googlesource.com/11366 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
8c8cd541fa
commit
e841ad2e00
@ -79,7 +79,7 @@ func (check *Checker) op(m opPredicates, x *operand, op token.Token) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// The binary expression e may be nil. It's passed in for better error messages only.
|
// The unary expression e may be nil. It's passed in for better error messages only.
|
||||||
func (check *Checker) unary(x *operand, e *ast.UnaryExpr, op token.Token) {
|
func (check *Checker) unary(x *operand, e *ast.UnaryExpr, op token.Token) {
|
||||||
switch op {
|
switch op {
|
||||||
case token.AND:
|
case token.AND:
|
||||||
|
Loading…
Reference in New Issue
Block a user