ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check.
()
| 225 | |
| 226 | // ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check. |
| 227 | func ValidateDurationLiterals() ASTValidator { |
| 228 | return newFormatValidator(overloads.TypeConvertDuration, 0, evalCall) |
| 229 | } |
| 230 | |
| 231 | // ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check. |
| 232 | func ValidateTimestampLiterals() ASTValidator { |