From d2bde102ff975f30067203b5d039174d54a1b701 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 7 Jan 2020 07:27:38 +0100 Subject: pkg/compiler: fix another bitfield layout bug See the added test for details. --- prog/encoding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog') 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 } } -- cgit mrf-deployment