[Go] Don't convert arrays to pointers if there is a "gotype" typemap entry.

Fixes #749
This commit is contained in:
Ian Lance Taylor 2022-03-15 12:18:47 -07:00
commit b819363117
4 changed files with 50 additions and 2 deletions

View file

@ -54,4 +54,8 @@ func main() {
c1 := go_inout.NewC1()
c2.M2(c1)
c2.M2(nil)
if !go_inout.Strings([]string{"1", "2"}) {
panic("Strings failed")
}
}