ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check.
()
| 214 | |
| 215 | // ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check. |
| 216 | func ValidateDurationLiterals() ASTValidator { |
| 217 | return newFormatValidator(overloads.TypeConvertDuration, 0, evalCall) |
| 218 | } |
| 219 | |
| 220 | // ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check. |
| 221 | func ValidateTimestampLiterals() ASTValidator { |