reflect: uncomment TestAppend and fix a bug it found

This commit is contained in:
Damian Gryski
2023-04-01 11:12:16 -07:00
committed by Ayke
parent 60bb832c89
commit a85cb22193
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -1666,6 +1666,7 @@ func (v *Value) extendSlice(n int) {
cap: ncap,
}
v.flags = valueFlagExported
v.value = (unsafe.Pointer)(&newslice)
}