Skip to content

at-evalpoly is broken #23239

Closed
Closed
@stevengj

Description

@stevengj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler:loweringSyntax lowering (compiler front end, 2nd stage)macros@macros

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions