mirror of
https://github.com/golang/go
synced 2024-11-13 17:00:22 -07:00
9e66ee4562
Composite literals using the &T{} form were incorrectly exported, leading to weird errors at import time. Fixes #4879. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7395054
10 lines
136 B
Go
10 lines
136 B
Go
package b
|
|
|
|
import "./a"
|
|
|
|
func F() {
|
|
a.MakePrivateCollection()
|
|
a.MakePrivateCollection2()
|
|
a.MakePrivateCollection3()
|
|
}
|