Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic calling $distinct on array of arrays (#34)
This fixes the following panic: ``` panic: runtime error: hash of unhashable type []interface {} goroutine 176 [running]: http://github.com/xiatechs/jsonata-go/jlib.Distinct ({0x1087cc0?, 0xc000661368?, 0x0?}) /go/pkg/mod/github.com/xiatechs/[email protected]/jlib/array.go:61 +0x3e5 reflect.Value.call({0x10c10a0?, 0x1404a18?, 0x4cadbf?}, {0x1318275, 0x4}, {0xc000661590, 0x1, 0x0?}) /usr/local/go/src/reflect/value.go:596 +0xce5 reflect.Value.Call({0x10c10a0?, 0x1404a18?, 0x1?}, {0xc000661590?, 0xc000661590?, 0x1087d00?}) /usr/local/go/src/reflect/value.go:380 +0xb9 ```
- Loading branch information