]> Cypherpunks repositories - gostls13.git/commit
test: add test of select inside generic function
authorKeith Randall <khr@golang.org>
Fri, 3 Dec 2021 21:57:25 +0000 (13:57 -0800)
committerKeith Randall <khr@golang.org>
Fri, 3 Dec 2021 22:57:02 +0000 (22:57 +0000)
commit9ae0b35fad5d4bb95cdcf4a05fcf4b077a798572
treee22af07ec32a9eb53db2ac3ad5df93db7b33d7e1
parentd20a0bfc8a7fd70537766990691d4c9e5841e086
test: add test of select inside generic function

Make sure that we can import/export selects for generics.

Change-Id: Ibf36e98fc574ce9275820aa426b3e6703b0aae6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/369101
Trust: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
test/typeparam/select.dir/a.go [new file with mode: 0644]
test/typeparam/select.dir/main.go [new file with mode: 0644]
test/typeparam/select.go [new file with mode: 0644]