---
cases:
  - note: bitsnegate/float error
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := __local0__ if {
        	bits.negate(7.2, __local1__)
        	__local0__ = __local1__
        }
    data: {}
    want_error_code: eval_type_error
    want_error: "bits.negate: operand 1 must be integer number but got floating-point number"
    strict_error: true
