Skip to content

Struct defined by macros get revised needlessly #1022

@cstjean

Description

@cstjean

Consider:

@kwdef struct Blah
    x = 4
end

Changing 4 to 5, used to work fine and be near-instantaneous, but now it triggers structure revision, which is obviously a lot slower when many packages are loaded.

I found it via QuickTypes.jl's @qfunctor.

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