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 09012b8 commit f52b42fCopy full SHA for f52b42f
src/Tracing.jl
@@ -93,7 +93,7 @@ Base.@nospecializeinfer function traced_type_inner(
93
@nospecialize(runtime)
94
)
95
# functions are directly returned
96
- if sizeof(T) == 0
+ if T === Function || sizeof(T) == 0
97
return T
98
end
99
0 commit comments