]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: add a test for Context deduplication of hash collisions
authorRobert Griesemer <gri@golang.org>
Tue, 16 Nov 2021 19:36:09 +0000 (11:36 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 17 Nov 2021 04:32:02 +0000 (04:32 +0000)
commit2f937d9bfcbb1e95c089a3af37677bacb185aedb
treeafda59ced4980a69faf514e9326472fb490ec29a
parent1c13b58abaaeaaaa54a5471613c020fe78105016
cmd/compile/internal/types2: add a test for Context deduplication of hash collisions

This CL is a clean port of CL 363517 from go/types to types2,
with the exception that types_test.go was not removed because
it's still needed to set a types2-specific test flag.

Change-Id: I12177866537c0f95f3fa36fa0f4aa02016609ca9
Reviewed-on: https://go-review.googlesource.com/c/go/+/364494
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/context_test.go [new file with mode: 0644]
src/cmd/compile/internal/types2/types_test.go