Initial commit: Go 1.23 release state
This commit is contained in:
11
test/fixedbugs/issue44732.dir/bar/bar.go
Normal file
11
test/fixedbugs/issue44732.dir/bar/bar.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2021 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 bar
|
||||
|
||||
import "issue44732.dir/foo"
|
||||
|
||||
type Bar struct {
|
||||
Foo *foo.Foo
|
||||
}
|
||||
13
test/fixedbugs/issue44732.dir/foo/foo.go
Normal file
13
test/fixedbugs/issue44732.dir/foo/foo.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2021 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 foo
|
||||
|
||||
type Foo struct {
|
||||
updatecb func()
|
||||
}
|
||||
|
||||
func NewFoo() *Foo {
|
||||
return &Foo{updatecb: nil}
|
||||
}
|
||||
15
test/fixedbugs/issue44732.dir/main.go
Normal file
15
test/fixedbugs/issue44732.dir/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2021 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 main
|
||||
|
||||
import (
|
||||
"issue44732.dir/bar"
|
||||
"issue44732.dir/foo"
|
||||
)
|
||||
|
||||
func main() {
|
||||
_ = bar.Bar{}
|
||||
_ = foo.NewFoo()
|
||||
}
|
||||
Reference in New Issue
Block a user