JuliaLang/julia

warn on constant redefinition (in package tests)?

Open

#58.670 aperta il 8 giu 2025

Vedi su GitHub
 (7 commenti) (4 reazioni) (0 assegnatari)Julia (5773 fork)batch import
help wantedminor change

Metriche repository

Star
 (48.709 star)
Metriche merge PR
 (Merge medio 23g 11h) (145 PR mergiate in 30 g)

Descrizione

The command-line option --warn-overwrite=yes, usually turned on while running the test suite of a package, warns on method overwrite. It seems inconsistent, then, that the new, more powerful, feature of constant redefinition does not get warned against in package tests.

Should --warn-overwrite=yes be expanded to warn on the redefinition of each constant?

tags: rebinding, binding partition

Guida contributor