]> Cypherpunks repositories - gostls13.git/commit
go/types, cmd/compile/internal/types2: minor adjustments (cleanups)
authorRobert Griesemer <gri@golang.org>
Mon, 9 Jan 2023 19:46:15 +0000 (11:46 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 17 Jan 2023 19:55:06 +0000 (19:55 +0000)
commit839c84255034d5181bb69e8d10070119ab97d9fe
tree54f5a747791bee17a96a68f3f0c02f33805b5cc3
parent3c357409d1e9797bec88a5a1dafae13ba2c45a18
go/types, cmd/compile/internal/types2: minor adjustments (cleanups)

go/types:
- gofmt a couple of files

types2:
- add loong64 to sizes list (present in go/types)
- fix a type in validtype.go
- co-locate an accessor with others in typeparam.go

This changes further reduce discrepancy between types2 and go/types.

Change-Id: I2e6a09f1c4b8dbc947c48af13031ff58a2bc6f4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/460996
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/gccgosizes.go
src/cmd/compile/internal/types2/typeparam.go
src/cmd/compile/internal/types2/validtype.go
src/go/types/errorcalls_test.go
src/go/types/testdata/manual.go