ValidateHomogeneousAggregateLiterals checks that all list and map literals entries have the same types, i.e. no mixed list element types or mixed map key or map value types. Note: the string format call relies on a mixed element type list for ease of use, so this check skips all literals which occu
()
| 244 | // Note: the string format call relies on a mixed element type list for ease of use, so this check skips all |
| 245 | // literals which occur within string format calls. |
| 246 | func ValidateHomogeneousAggregateLiterals() ASTValidator { |
| 247 | return homogeneousAggregateLiteralValidator{} |
| 248 | } |
| 249 | |
| 250 | // ValidateComprehensionNestingLimit ensures that comprehension nesting does not exceed the specified limit. |
| 251 | // |
no outgoing calls