Closed Stebalien closed 6 years ago
Simpler repro:
package main
import (
"github.com/polydawn/refmt"
"github.com/polydawn/refmt/obj/atlas"
)
type Thing struct {
Array []byte
}
func main() {
atlas := atlas.MustBuild(
atlas.BuildEntry(Thing{}).StructMap().Autogenerate().Complete(),
)
var a, b Thing
err := refmt.CloneAtlased(&a, &b, atlas)
if err != nil {
panic(err)
}
}