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

        p {
          numbers.range(3, 3.14)
        }
    note: "numbersrange/error: floating-point number pos 2"
    query: data.generated.p = x
    want_error:
      "numbers.range: operand 2 must be integer number but got floating-point
      number"
    want_error_code: eval_type_error
    strict_error: true
