diff options
Diffstat (limited to 'src/go/types/exprstring.go')
-rw-r--r-- | src/go/types/exprstring.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/exprstring.go b/src/go/types/exprstring.go index aee8a5ba5f7..06e7a9dcb44 100644 --- a/src/go/types/exprstring.go +++ b/src/go/types/exprstring.go @@ -67,7 +67,7 @@ func WriteExpr(buf *bytes.Buffer, x ast.Expr) { buf.WriteByte('.') buf.WriteString(x.Sel.Name) - case *ast.IndexExpr, *ast.MultiIndexExpr: + case *ast.IndexExpr, *ast.IndexListExpr: ix := typeparams.UnpackIndexExpr(x) WriteExpr(buf, ix.X) buf.WriteByte('[') |