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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/ghostiam/protogetter/processor.go b/vendor/github.com/ghostiam/protogetter/processor.go
index ed52fb6eb..eca82939d 100644
--- a/vendor/github.com/ghostiam/protogetter/processor.go
+++ b/vendor/github.com/ghostiam/protogetter/processor.go
@@ -218,7 +218,7 @@ func (c *processor) processInner(expr ast.Expr) {
c.write("*")
c.processInner(x.X)
- case *ast.CompositeLit, *ast.TypeAssertExpr, *ast.ArrayType:
+ case *ast.CompositeLit, *ast.TypeAssertExpr, *ast.ArrayType, *ast.FuncLit:
// Process the node as is.
c.write(formatNode(x))