mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00: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
9 lines
136 B
Go
9 lines
136 B
Go
package b
|
|
|
|
import "./a"
|
|
|
|
func F() {
|
|
a.MakePrivateCollection()
|
|
a.MakePrivateCollection2()
|
|
a.MakePrivateCollection3()
|
|
}
|