]> Cypherpunks repositories - gostls13.git/commit
reflect: define MyBuffer more locally in TestImplicitMapConversion
authorTobias Klauser <tklauser@distanz.ch>
Wed, 18 Apr 2018 09:52:39 +0000 (11:52 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 18 Apr 2018 12:47:39 +0000 (12:47 +0000)
commit47435b1da1e2a5698d1cfddc0eff889e4fdb6111
tree0aa110d23895f4dd50b513ad3d46b93a82fe145f
parent4869ec00e87ef49db2646c25d28d5c7e4f1caff8
reflect: define MyBuffer more locally in TestImplicitMapConversion

There are no strange messages anymore, so define type MyBuffer in the
block where it is used.

Change-Id: Ic65b15dc76a40f6f734d9ac2116338502fbb66fd
Reviewed-on: https://go-review.googlesource.com/107735
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/reflect/set_test.go