---
cases:
  - note: withkeyword/bug 1100
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	data.ex.data_eq with input as {}
        }
      - |
        package ex

        data_eq if {
        	data.a = x
        }
    data:
      a:
        - 1
        - 2
        - 3
        - 4
    want_result:
      - x: true
