mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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()
|
|
}
|