Initial commit: Go 1.23 release state
This commit is contained in:
13
test/fixedbugs/issue20682.dir/p.go
Normal file
13
test/fixedbugs/issue20682.dir/p.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2017 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 "strings"
|
||||
|
||||
type T struct{}
|
||||
|
||||
func (T) M() {
|
||||
strings.HasPrefix("", "")
|
||||
}
|
||||
13
test/fixedbugs/issue20682.dir/q.go
Normal file
13
test/fixedbugs/issue20682.dir/q.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2017 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 q
|
||||
|
||||
import "./p"
|
||||
|
||||
type T struct{}
|
||||
|
||||
func (T) M() interface{} {
|
||||
return &p.T{}
|
||||
}
|
||||
11
test/fixedbugs/issue20682.dir/r.go
Normal file
11
test/fixedbugs/issue20682.dir/r.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017 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 r
|
||||
|
||||
import "./q"
|
||||
|
||||
type T struct {
|
||||
q.T
|
||||
}
|
||||
Reference in New Issue
Block a user