]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/types2: mark gotypesalias as undocumented
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 14 Nov 2023 03:33:25 +0000 (10:33 +0700)
committerGopher Robot <gobot@golang.org>
Tue, 14 Nov 2023 15:43:55 +0000 (15:43 +0000)
commitacc8cb6a5f23d7fb57ea5825decd6bf0ae8723e9
tree05830a2d079fd0fa696db4a72b2fb6b99b29370c
parent31f0af1e5ea7be0d332ca82d483b1ee6a727e089
cmd/compile/internal/types2: mark gotypesalias as undocumented

CL 541737 added gotypesalias to control whether Alias types are used.
This setting is meant to use by end users through go/types. However,
types2 also uses it, but it's an internal package, causing bootstrap
failed because of unknown setting.

Marking the setting as undocumented in types2 fixes the problem.

Fixes #64106

Change-Id: If51a63cb7a21d9411cd9cf81bca2530c476d22f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/542135
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/types2/check.go