Descriptionspec: index of non-addressable array is not addressable
Motivated by:
func f() []int
func g() [10]int
f()[1] = 1 // ok
g()[1] = 1 // ERROR
Patch Set 1 #Patch Set 2 : code review 1278041: spec: index of non-addressable array is not addressable #Patch Set 3 : code review 1278041: spec: index of non-addressable array is not addressable #MessagesTotal messages: 3
|