[Help] swift compile error. Anyone else ?
Error:\nLine 94: Char 14: error: \'deallocate(capacity:)\' is unavailable: Swift currently only supports freeing entire heap blocks, use deallocate() instead in
Error:\nLine 94: Char 14: error: \'deallocate(capacity:)\' is unavailable: Swift currently only supports freeing entire heap blocks, use deallocate() instead in solution.swift\n_ret.deallocate(capacity: ret.count)\n\nI use this simple code to test :\n```\nclass Solution {\n    func distanceK(_ root: TreeNode?, _ target: TreeNode?, _ K: Int) -> [Int] {\n        return [Int]()\n    }\n}\n```
[]