---
cases:
  - note: undos/array-type
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains x if {
        	arr = [[1, [2]], [1, null], [2, [2]]]
        	[x, [2]] = arr[_]
        }
    data: {}
    want_result:
      - x:
          - 1
          - 2
    sort_bindings: true
