go/gccgoimporter: remove incorrect scope passed to NewSignature

Change-Id: I4b9670dc72ef85b852361aa5524a55b82d88e8f2
Reviewed-on: https://go-review.googlesource.com/10993
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
Robert Griesemer 2015-06-12 14:23:25 -07:00 committed by Gerrit Code Review
parent 568df9f49c
commit 3c2fc37aec
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ func (p *parser) parseNamedType(n int) types.Type {
results := p.parseResultList(pkg)
p.expect(';')
sig := types.NewSignature(pkg.Scope(), receiver, params, results, isVariadic)
sig := types.NewSignature(nil, receiver, params, results, isVariadic)
nt.AddMethod(types.NewFunc(token.NoPos, pkg, name, sig))
}