---
cases:
  - note: comprehensions/object embedded array
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains i if {
        	__local0__ = {s: x | x = data.a[_]; format_int(x, 10, s)}
        	xs = [__local0__]
        	__local1__ = xs[0][i]
        	__local1__ > 1
        }
    data:
      a:
        - 1
        - 2
        - 3
        - 4
    want_result:
      - x:
          - "2"
          - "3"
          - "4"
    sort_bindings: true
