Skip to content

Commit acc8cb6

Browse files
cuonglmgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Mauri de Souza Meneguzzo <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Auto-Submit: Cuong Manh Le <[email protected]>
1 parent 31f0af1 commit acc8cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/compile/internal/types2/check.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var nopos syntax.Pos
2323
const debug = false // leave on during development
2424

2525
// gotypesalias controls the use of Alias types.
26-
var gotypesalias = godebug.New("gotypesalias")
26+
var gotypesalias = godebug.New("#gotypesalias")
2727

2828
// exprInfo stores information about an untyped expression.
2929
type exprInfo struct {

0 commit comments

Comments
 (0)