]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: call recordInstance in instantiateSignature
authorRobert Griesemer <gri@golang.org>
Thu, 11 May 2023 20:55:27 +0000 (13:55 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 12 May 2023 15:20:47 +0000 (15:20 +0000)
commit803a7dfb80ace1fe31528a81ed7bb6ab56b5d930
treedefb9f543515bc9742eaa19e5e70b170c0aebcd7
parent2ce84c3a6e14bc2720ca635cb38cac565fab0d9b
go/types, types2: call recordInstance in instantiateSignature

This matches the pattern we use for type instantiations and
factors out the recordInstance and associated assert calls.

Change-Id: Ib7731c0e619aca42f418cb2d9a153785aaf014cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/494457
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/call.go
src/go/types/call.go