diff --git a/src/cmd/compile/internal/syntax/parser.go b/src/cmd/compile/internal/syntax/parser.go index 1f5e8bc449f..b31b712f1d3 100644 --- a/src/cmd/compile/internal/syntax/parser.go +++ b/src/cmd/compile/internal/syntax/parser.go @@ -1506,8 +1506,7 @@ func (p *parser) structType() *StructType { return typ } -// InterfaceType = "interface" "{" { ( MethodDecl | EmbeddedElem | TypeList ) ";" } "}" . -// TypeList = "type" Type { "," Type } . +// InterfaceType = "interface" "{" { ( MethodDecl | EmbeddedElem ) ";" } "}" . func (p *parser) interfaceType() *InterfaceType { if trace { defer p.trace("interfaceType")()