We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e75ab commit c5c9ef0Copy full SHA for c5c9ef0
src/stage1/recurse_fwd.jl
@@ -50,7 +50,7 @@ _construct(::Type{B}, args) where B<:Tuple = B(args)
50
# Hack for making things that do not have public constructors constructable:
51
@generated _construct(B::Type, args) = Expr(:splatnew, :B, :args)
52
53
-@generated (::∂☆new{N})(B::Type) where {N} = return :(zero_bundle{order}()($(Expr(:new, :B))))
+@generated (::∂☆new{N})(B::Type) where {N} = return :(zero_bundle{$N}()($(Expr(:new, :B))))
54
55
# Sometimes we don't know whether or not we need to the ZeroBundle when doing
56
# the transform, so this can happen - allow it for now.
0 commit comments