From c5db55cd32e2bfa396e2adc44eb3871e66e13ad0 Mon Sep 17 00:00:00 2001 From: Matthew Kay Date: Thu, 21 Dec 2023 00:17:10 -0600 Subject: [PATCH] make vec_restore() apply AsIs to the restored object, not its proxy --- R/type-asis.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/type-asis.R b/R/type-asis.R index 8ba2b967b..b838b5e31 100644 --- a/R/type-asis.R +++ b/R/type-asis.R @@ -35,7 +35,7 @@ vec_proxy.AsIs <- function(x, ...) { #' @export vec_restore.AsIs <- function(x, to, ...) { - asis_restore(x) + asis_restore(NextMethod()) } #' @export