mirror of
https://github.com/golang/go
synced 2024-11-02 13:42:29 +00:00
cmd/compile/internal/syntax: remove TypeList syntax in comment
Change-Id: Ic4df6a8e198b069a9f3a28710fa40f29bd658b06
GitHub-Last-Rev: 51040eb5e5
GitHub-Pull-Request: golang/go#55345
Reviewed-on: https://go-review.googlesource.com/c/go/+/432795
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
ebaa5ff39e
commit
88a6a4d1ba
1 changed files with 1 additions and 2 deletions
|
@ -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")()
|
||||
|
|
Loading…
Reference in a new issue