Skip to content

dotcallifying AbstractVector crashes Julia #7

@jlapeyre

Description

@jlapeyre

EDIT: See simpler example in second comment.

julia> @eval Base import DotCall;

julia> @eval Base DotCall.@dotcallify AbstractVector (map=(v, f) -> map(f, v), );

This crashes julia around here:

error("$ts has no property or key \"$f\"")

The error message has some kind of recurrence, (the bug breaks printing the error somehow) so that thousands of lines are printed when crashing.
Removing the interpolated $ts results in a much shorter error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions