Text file src/go/types/testdata/fixedbugs/issue50259.go2
1 // Copyright 2022 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package p 6 7 var x T[B] 8 9 type T[_ any] struct{} 10 type A T[B] 11 type B = T[A] 12 13 // test case from issue 14 15 var v Box[Step] 16 type Box[T any] struct{} 17 type Step = Box[StepBox] 18 type StepBox Box[Step] 19