incompatibleAttributeType reports an error for validations defined on incompatible attributes (e.g. max value on string).
(validation, actual, expected string)
| 455 | // incompatibleAttributeType reports an error for validations defined on |
| 456 | // incompatible attributes (e.g. max value on string). |
| 457 | func incompatibleAttributeType(validation, actual, expected string) { |
| 458 | eval.ReportError("invalid %s validation definition: attribute must be %s (but type is %s)", |
| 459 | validation, expected, actual) |
| 460 | } |
no test coverage detected