HomogeneousAggregateLiterals disables mixed type list and map literal values. Note, it is still possible to have heterogeneous aggregates when provided as variables to the expression, as well as via conversion of well-known dynamic types, or with unchecked expressions.
()
| 220 | // expression, as well as via conversion of well-known dynamic types, or with unchecked |
| 221 | // expressions. |
| 222 | func HomogeneousAggregateLiterals() EnvOption { |
| 223 | return ASTValidators(ValidateHomogeneousAggregateLiterals()) |
| 224 | } |
| 225 | |
| 226 | // variadicLogicalOperatorASTs flatten like-operator chained logical expressions into a single |
| 227 | // variadic call with N-terms. This behavior is useful when serializing to a protocol buffer as |