Skip to content

missing effects propagation from Core.invoke call #44763

Closed
@aviatesk

Description

@aviatesk
julia> invoke_println(x) = Base.@invoke println(x::Any)
invoke_println (generic function with 1 method)

julia> code_typed(; optimize=false) do
           invoke_println(42)
       end;
42

So invoke_println is wrongly concrete-evaled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions