]> Cypherpunks.ru repositories - gostls13.git/commit
encoding/binary: add word size to the error message of the failed constraint
authorConstantin Konstantinidis <constantinkonstantinidis@gmail.com>
Mon, 14 May 2018 11:50:56 +0000 (13:50 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 4 Apr 2023 22:12:53 +0000 (22:12 +0000)
commit2afaa018550ceb42e7a89d1bb53e7fe2d3890377
tree42b1d8cfab673e6dc23420f38a5afec381c3389d
parent2f2b874b0aab741a8628fd971f4b3aa41e2fdffb
encoding/binary: add word size to the error message of the failed constraint

Test added.

Fixes #22860

Change-Id: I08304834a2b7b10b4ac729bf36761692eb4731da
Reviewed-on: https://go-review.googlesource.com/c/go/+/113075
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/encoding/binary/binary.go
src/encoding/binary/binary_test.go