We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4705aea commit 870fa83Copy full SHA for 870fa83
src/jlgen.jl
@@ -32,6 +32,7 @@ function unsafe_function_from_type(ft::Type)
32
Ref{ft}()[]
33
end
34
35
+global MethodError
36
function MethodError(ft::Type{<:Function}, tt::Type, world::Integer=typemax(UInt))
37
Base.MethodError(unsafe_function_from_type(ft), tt, world)
38
0 commit comments