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 7c5dab10f..493edd9f4 100644
--- a/prog/encoding.go
+++ b/prog/encoding.go
@@ -397,7 +397,7 @@ func (p *parser) parseArgInt(typ Type) (Arg, error) {
index := -v % uint64(len(p.target.SpecialPointers))
return MakeSpecialPointerArg(typ, index), nil
default:
- p.eatExcessive(true, "wrong int arg")
+ p.eatExcessive(true, "wrong int arg %T", typ)
return typ.DefaultArg(), nil
}
}