aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/ghostiam
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/ghostiam')
-rw-r--r--vendor/github.com/ghostiam/protogetter/processor.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/vendor/github.com/ghostiam/protogetter/processor.go b/vendor/github.com/ghostiam/protogetter/processor.go
index d65199dd2..ed52fb6eb 100644
--- a/vendor/github.com/ghostiam/protogetter/processor.go
+++ b/vendor/github.com/ghostiam/protogetter/processor.go
@@ -218,10 +218,8 @@ func (c *processor) processInner(expr ast.Expr) {
c.write("*")
c.processInner(x.X)
- case *ast.CompositeLit:
- c.write(formatNode(x))
-
- case *ast.TypeAssertExpr:
+ case *ast.CompositeLit, *ast.TypeAssertExpr, *ast.ArrayType:
+ // Process the node as is.
c.write(formatNode(x))
default: