]> Cypherpunks repositories - gostls13.git/commit
encoding/gob: fix Debug to properly print uint
authorDanny Rosseau <daniel.rosseau@gmail.com>
Thu, 10 Aug 2017 19:08:23 +0000 (13:08 -0600)
committerRob Pike <r@golang.org>
Fri, 25 Aug 2017 10:22:07 +0000 (10:22 +0000)
commit9515610afbbfafdde13052265f115a5e65d6756f
tree6143af5f40dbe0c6c6010cea1dd6dbc63a2a52d9
parent46aa9f5437b000fad3696b0cd9fd97995da16411
encoding/gob: fix Debug to properly print uint

Fix debugger printing of uint that mistakenly
invoked .int64() instead of .uint64()

Fixes #21392

Change-Id: I107a7e87e0efbb06303c1e627dee76c369f75d1e
Reviewed-on: https://go-review.googlesource.com/54750
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/encoding/gob/codec_test.go
src/encoding/gob/debug.go