Initial commit: Go 1.23 release state
This commit is contained in:
13
test/fixedbugs/bug507.dir/a.go
Normal file
13
test/fixedbugs/bug507.dir/a.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2020 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 I interface {
|
||||
M()
|
||||
}
|
||||
|
||||
type S struct {
|
||||
I I
|
||||
}
|
||||
9
test/fixedbugs/bug507.dir/b.go
Normal file
9
test/fixedbugs/bug507.dir/b.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2020 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 b
|
||||
|
||||
import . "./a"
|
||||
|
||||
var V2 I
|
||||
9
test/fixedbugs/bug507.dir/c.go
Normal file
9
test/fixedbugs/bug507.dir/c.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2020 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 b
|
||||
|
||||
import "./a"
|
||||
|
||||
var V1 = a.S{I: nil}
|
||||
Reference in New Issue
Block a user