Skip to content

Commit

Permalink
use Core.CachedGenerator if available (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk authored Jun 28, 2024
1 parent c73caf8 commit 3a9575d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CassetteOverlay.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ macro nonoverlay(ex)
return esc(out)
end

struct CassetteOverlayGenerator
struct CassetteOverlayGenerator <: (@static isdefined(Core, :CachedGenerator) ? Core.CachedGenerator : Any)
selfname::Symbol
fargsname::Symbol
end
Expand Down

0 comments on commit 3a9575d

Please sign in to comment.