Skip to content

Method dispatch not functioning as expected #7884

@shashi

Description

@shashi

In this particular context (I am not entirely sure what is causing this), although @which gives me the correct method, but this method is not what is actually called, instead it calls the more general metadata(::Any) method.

https://github.com/shashi/IJulia.jl/blob/e638f0013ce1107bc2f42a172309403e1123ad39/src/execute_request.jl#L178

In a previous iteration of the code, if I were to print something (e.g. a blank) inside the metadata(::Signal) method , it would work. This no more works though. So this might have something to do with stdIO being captured by IJulia?

cc @stevengj, @dcjones, @JeffBezanson

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