()
| 226 | } |
| 227 | |
| 228 | func initArrayToArrayConcatenation() { |
| 229 | for _, t := range types.Scalar { |
| 230 | typ := t |
| 231 | BinOps[Concat] = append(BinOps[Concat], &BinOp{ |
| 232 | LeftType: types.MakeArray(typ), |
| 233 | RightType: types.MakeArray(typ), |
| 234 | ReturnType: types.MakeArray(typ), |
| 235 | NullableArgs: true, |
| 236 | Volatility: VolatilityImmutable, |
| 237 | }) |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | func init() { |
| 242 | initArrayElementConcatenation() |