---
cases:
  - note: objectremovenonstringkey/non string root
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	object.remove({"a": 1, [[7]]: 2}, {[[7]]}, __local1__)
        	__local0__ = __local1__
        	__local0__ = {"a": 1}
        }
    data: {}
    want_result:
      - x: true
