Commit d64cdde3 authored by Robert Griesemer's avatar Robert Griesemer

go/types: remove unused return value

Port of https://go-review.googlesource.com/10773 from x/tools.

Change-Id: I6aba6a63a5448b8fcbcc7f072c627c27965dbe20
Reviewed-on: https://go-review.googlesource.com/10774Reviewed-by: default avatarAlan Donovan <adonovan@google.com>
parent 232331f0
......@@ -140,8 +140,8 @@ func (check *Checker) typ(e ast.Expr) Type {
return check.typExpr(e, nil, nil)
}
// funcType type-checks a function or method type and returns its signature.
func (check *Checker) funcType(sig *Signature, recvPar *ast.FieldList, ftyp *ast.FuncType) *Signature {
// funcType type-checks a function or method type.
func (check *Checker) funcType(sig *Signature, recvPar *ast.FieldList, ftyp *ast.FuncType) {
scope := NewScope(check.scope, "function")
check.recordScope(ftyp, scope)
......@@ -202,8 +202,6 @@ func (check *Checker) funcType(sig *Signature, recvPar *ast.FieldList, ftyp *ast
sig.params = NewTuple(params...)
sig.results = NewTuple(results...)
sig.variadic = variadic
return sig
}
// typExprInternal drives type checking of types.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment