Skip to content

Commit c5db55c

Browse files
committed
make vec_restore(<AsIs>) apply AsIs to the restored object, not its proxy
1 parent 8bf5ba5 commit c5db55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/type-asis.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ vec_proxy.AsIs <- function(x, ...) {
3535

3636
#' @export
3737
vec_restore.AsIs <- function(x, to, ...) {
38-
asis_restore(x)
38+
asis_restore(NextMethod())
3939
}
4040

4141
#' @export

0 commit comments

Comments
 (0)