diff options
Diffstat (limited to 'src/pkg/go/ast/ast.go')
| -rw-r--r-- | src/pkg/go/ast/ast.go | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/pkg/go/ast/ast.go b/src/pkg/go/ast/ast.go index 3cddf4f1d..b0cb6bfe8 100644 --- a/src/pkg/go/ast/ast.go +++ b/src/pkg/go/ast/ast.go @@ -350,7 +350,7 @@ func (x *ChanType) exprNode() {}  // IsExported returns whether name is an exported Go symbol  // (i.e., whether it begins with an uppercase letter).  func IsExported(name string) bool { -	ch, len := utf8.DecodeRuneInString(name); +	ch, _ := utf8.DecodeRuneInString(name);  	return unicode.IsUpper(ch);  } | 
