Closed
Description
The following works fine in 0.6:
julia> f(x) = @evalpoly x 1.0 2.0 3.0
f (generic function with 1 method)
julia> Base.Test.@inferred f(3.0)
ERROR: return type Float64 does not match inferred return type Any
Stacktrace:
[1] error(::String) at ./error.jl:28
Probably the same as JuliaMath/SpecialFunctions.jl#42, where it was bisected to #22985.
cc @vtjnash