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 66f2c2d commit 9858d80Copy full SHA for 9858d80
src/stage1/recurse_fwd.jl
@@ -29,7 +29,10 @@ function ∂☆nomethd(@nospecialize(args))
29
end
30
function ∂☆builtin((f_bundle, args...))
31
f = primal(f_bundle)
32
- throw(DomainError(f, "No `ChainRulesCore.frule` found for the built-in function `$f`"))
+ argtypes = Any[Core.Typeof(primal(arg)) for arg in args]
33
+ tt = Base.signature_type(f, argtypes)
34
+ sig = Base.sprint(Base.show_tuple_as_call, Symbol(""), tt)
35
+ throw(DomainError(f, "No `ChainRulesCore.frule` found for the built-in function `$sig`"))
36
37
38
function perform_fwd_transform(world::UInt, source::LineNumberNode,
0 commit comments