mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
![Rémy Oudompheng](/assets/img/avatar_default.png)
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
11 lines
284 B
Go
11 lines
284 B
Go
// compiledir
|
|
|
|
// Copyright 2013 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.
|
|
|
|
// Issue 4879: export data misses the '&' for some
|
|
// composite literals in inlined bodies.
|
|
|
|
package ignored
|