diff --git a/src/go/internal/gccgoimporter/parser.go b/src/go/internal/gccgoimporter/parser.go index 0d788653e3..8a1ad5ff07 100644 --- a/src/go/internal/gccgoimporter/parser.go +++ b/src/go/internal/gccgoimporter/parser.go @@ -739,7 +739,7 @@ func (p *parser) discardDirectiveWhileParsingTypes(pkg *types.Package) { case ';': return case '<': - p.parseType(p.pkg) + p.parseType(pkg) case scanner.EOF: p.error("unexpected EOF") default: