Initial commit: Go 1.23 release state
This commit is contained in:
8
test/typeparam/issue51836.dir/a.go
Normal file
8
test/typeparam/issue51836.dir/a.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2022 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package a
|
||||
|
||||
type T[K any] struct {
|
||||
}
|
||||
13
test/typeparam/issue51836.dir/aa.go
Normal file
13
test/typeparam/issue51836.dir/aa.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2022 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package a
|
||||
|
||||
import (
|
||||
"./a"
|
||||
)
|
||||
|
||||
type T[K any] struct {
|
||||
t a.T[K]
|
||||
}
|
||||
11
test/typeparam/issue51836.dir/p.go
Normal file
11
test/typeparam/issue51836.dir/p.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2022 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package p
|
||||
|
||||
import (
|
||||
a "./aa"
|
||||
)
|
||||
|
||||
var Foo a.T[int]
|
||||
Reference in New Issue
Block a user