public func filter(_ includeElement: @escaping (T) -> Bool) -> Array<T>
{
let array = Array<T>()
let sequence = array.filter(includeElement)
return Array<T>(sequence)
}
The simple function above, which try to apply filter to the Array, ended up in error as below
No overloaded method "filter" with these parameters on type "swift.Array<T>", best matching overload is "filter(_ includeElement: func (_ arg1: T) -> Boolean) -> Iterable<T>"
parameter 1 is "func (_ arg0: T) -> Boolean" should be "func (_ arg1: T) -> Boolean"
We are using Fire 11.0.0.2661