---
cases:
  - data: {}
    modules:
      - |
        package generated

        p[y] {
          x = 1
          data.generated.q[x] = y
        }

        q[k] = v {
          x = {1: 3, 2: 1}
          x[k] = v
        }
    note: "virtualdocs/input: object non-string key"
    query: data.generated.p = x
    sort_bindings: true
    want_result:
      - x:
          - 3
