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

        p = [__local0__, __local1__, __local2__] {
          __local3__ = 1582977600 * 1000
          __local4__ = __local3__ * 1000
          __local5__ = __local4__ * 1000
          __local6__ = __local5__ * 1000
          time.date(__local6__, __local7__)
          [__local0__, __local1__, __local2__] = __local7__
        }
    note: time/date too big
    query: data.generated.p = x
    want_error: timestamp too big
    want_error_code: eval_builtin_error
    strict_error: true
