]> Cypherpunks repositories - gostls13.git/commit
test/typeparam: add test for indexing on typeparams with various constraints
authorDan Scales <danscales@google.com>
Wed, 3 Nov 2021 03:42:21 +0000 (20:42 -0700)
committerDan Scales <danscales@google.com>
Wed, 3 Nov 2021 15:47:47 +0000 (15:47 +0000)
commitc143661568dc23badd4ba04f4193658fc1fd9c33
tree5e34b3bff933e7f669d23494b9b146dc2e77c916
parent6458b2e8db7c4529248934f7e491df02d1e89318
test/typeparam: add test for indexing on typeparams with various constraints

Add test for indexing on variables whose types are constrained to
various kinds of types.

Change-Id: I991eecfe39dba5d817c0fbe259ba558d4881ea84
Reviewed-on: https://go-review.googlesource.com/c/go/+/360867
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
test/typeparam/index2.go [new file with mode: 0644]