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

        p = x {
          __local0__ = data.num
          regex.is_valid(__local0__, x)
        }
    note: regexisvalid/bad operand type
    query: data.generated.p = x
    want_result:
      - x: false
