diff --git a/src/compiler/crystal/macros.cr b/src/compiler/crystal/macros.cr index 9dadf48af06c..ae2a2e73c25a 100644 --- a/src/compiler/crystal/macros.cr +++ b/src/compiler/crystal/macros.cr @@ -707,6 +707,10 @@ module Crystal::Macros def +(other : ArrayLiteral) : ArrayLiteral end + # Similar to `Array#-`. + def -(other : ArrayLiteral) : ArrayLiteral + end + # Returns the type specified at the end of the array literal, if any. # # This refers to the part after brackets in `[] of String`.