Debian Codegraph @

src/internal/types/testdata/fixedbugs/issue69576.go

raw
1 // -goexperiment=aliastypeparams -gotypesalias=1
2
3 // Copyright 2024 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package p
8
9 type A[P int] = struct{}
10
11 var _ A[string /* ERROR "string does not satisfy int (string missing in int)" */]