---
cases:
  - note: "virtualdocs/no suffix: object conflict (error)"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p[x] := y if {
        	xs = ["a", "b", "c", "a"]
        	x = xs[i]
        	y = data.a[i]
        }
    data:
      a:
        - 1
        - 2
        - 3
        - 4
    want_error_code: eval_conflict_error
    want_error: object keys must be unique
