aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack_test.go
diff options
context:
space:
mode:
authorAchille Roussel <achille.roussel@gmail.com>2023-06-10 13:13:05 -0700
committerGopher Robot <gobot@golang.org>2023-06-13 21:06:56 +0000
commit54c75b40a2a98a2942b86584b2bff5255d584b1d (patch)
tree0c59a556e4f937d34ab6cdce8e456743e58ee350 /src/runtime/stack_test.go
parentdac75b66754978a89eeb143e2b7cabb830409fd8 (diff)
downloadgo-54c75b40a2a98a2942b86584b2bff5255d584b1d.tar.xz
net: ensure net.Addr values match the connection type on wasip1
net.FileListener returns values of type *net.TCPListener, which can be asserted by the application. The (*net.TCPListener).Addr method documents that the underlying type of its return value is *net.TCPAddr, which is fixed by this change. Change-Id: Ife9906716d1b512092024ba50797bf7831536b75 Reviewed-on: https://go-review.googlesource.com/c/go/+/502335 Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions