diff --git a/src/remake.jl b/src/remake.jl index 17d1ffcae..373d898f5 100644 --- a/src/remake.jl +++ b/src/remake.jl @@ -187,7 +187,7 @@ function remake( props = @delete props.f2 - if !ismissing(forig) + if !ismissing(forig) && hasproperty(forig, :_func_cache) props = @delete props._func_cache props = @insert props._func_cache = forig._func_cache end