diff options
| author | Achille Roussel <achille.roussel@gmail.com> | 2023-06-10 13:13:05 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-06-13 21:06:56 +0000 |
| commit | 54c75b40a2a98a2942b86584b2bff5255d584b1d (patch) | |
| tree | 0c59a556e4f937d34ab6cdce8e456743e58ee350 /src/syscall/exec_linux_test.go | |
| parent | dac75b66754978a89eeb143e2b7cabb830409fd8 (diff) | |
| download | go-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/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions
