Use version of recast that correctly handle array pattern