f(a::Real, b::Real; key1=true, key2=“hello”) = 1
precompile(f, (Int64,Int64,Dict{Symbol,Any}))
return false
how it is done to return true?
f(a::Real, b::Real; key1=true, key2=“hello”) = 1
precompile(f, (Int64,Int64,Dict{Symbol,Any}))
return false
how it is done to return true?
precompile(f, (Int64,Int64))
(Keyword arguments are hidden, and aren’t supported for explicit declaration in precompile – and wouldn’t be a Dict anyways. However, the above anyways will compile any child functions – including the keyword call.)