Skip to content

make @which never return kwcall #51263

Open
@oxinabox

Description

@oxinabox

kwcall is an implementation detail of how keyword arguments are implemented.

But if you write a function with keyword arguments and call @which on it, it is reported as the method being hit.
though it does get the file/line number correct for the user facing method.

julia> @which foo(1; a=1)
kwcall(::Any, ::typeof(foo), x)
     @ Main REPL[1]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    display and printingAesthetics and correctness of printed representations of objects.tooling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions