]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/types2: rename structure to structuralType
authorRobert Griesemer <gri@golang.org>
Wed, 10 Nov 2021 16:12:21 +0000 (08:12 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 10 Nov 2021 17:15:54 +0000 (17:15 +0000)
commit8a3be150775f80850e179bd1860b286be27ca407
treed52fba0d8ea0cac983098ff20fd1854e34625992
parent0aa194f7589fb5f75fc3a9c34bb69943daf6fc5c
cmd/compile/internal/types2: rename structure to structuralType

And rename structureString to structuralString.

Now that we have an updated definition for structural types in
the (forthcoming) spec, name the corresponding function accordingly.

No semantic changes.

Change-Id: Iab838f01a37075bedf2d8bc4f166b0217672b85f
Reviewed-on: https://go-review.googlesource.com/c/go/+/362994
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/types2/builtins.go
src/cmd/compile/internal/types2/call.go
src/cmd/compile/internal/types2/expr.go
src/cmd/compile/internal/types2/index.go
src/cmd/compile/internal/types2/infer.go
src/cmd/compile/internal/types2/predicates.go
src/cmd/compile/internal/types2/stmt.go