it seems that making a copy of the temp var, replacing : temp = append(temp, c1)
by : temp = append(temp, append([]int{}, c1...)) helps, but still unclear for me why the problem was only visible on slice 4... -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.