aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encoding.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/encoding.go')
-rw-r--r--prog/encoding.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/encoding.go b/prog/encoding.go
index ba2cfb8ca..eb0fb79a9 100644
--- a/prog/encoding.go
+++ b/prog/encoding.go
@@ -570,7 +570,7 @@ func (p *parser) parseArgArray(typ Type) (Arg, error) {
p.Parse('[')
t1, ok := typ.(*ArrayType)
if !ok {
- p.eatExcessive(false, "wrong array arg")
+ p.eatExcessive(false, "wrong array arg %T", typ)
p.Parse(']')
return typ.DefaultArg(), nil
}