Skip to content

Redefining Functions* Results in Error #83

@astrobc1

Description

@astrobc1

I will try to update this with an explicit example. When using @infiltrate, I frequently experience an error like:

ERROR: cannot declare #1#2 constant; it already has a value Stacktrace: [1] top-level scope @ none:0

Running the exact same code in the debug prompt is typically successful after a few attempts; It might complain again that #3#4 already has a value after an additional try, however it usually results in success after 2-3 more attempts.

Note that this only happens with functions that were already defined before @infiltrate was hit, although it doesn't always happen which is the perplexing bit.

Current version of Infiltrator: v1.6.1
Same error on Julia 1.6.x, 1.7.x, 1.8.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions