Skip to content

Commit

Permalink
make vec_restore(<AsIs>) apply AsIs to the restored object, not its p…
Browse files Browse the repository at this point in the history
…roxy
  • Loading branch information
mjskay committed Dec 21, 2023
1 parent 8bf5ba5 commit c5db55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/type-asis.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ vec_proxy.AsIs <- function(x, ...) {

#' @export
vec_restore.AsIs <- function(x, to, ...) {
asis_restore(x)
asis_restore(NextMethod())
}

#' @export
Expand Down

0 comments on commit c5db55c

Please sign in to comment.