2
0

Fix scanning null did not overwrite slice

This commit is contained in:
Jack Christensen
2022-04-26 14:52:01 -05:00
parent 7427820aba
commit 0c6266ef30
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -463,7 +463,7 @@ func (a FlatArray[T]) IndexType() any {
func (a *FlatArray[T]) SetDimensions(dimensions []ArrayDimension) error {
if dimensions == nil {
a = nil
*a = nil
return nil
}