JuliaLang/julia
Auf GitHub ansehenwarn on constant redefinition (in package tests)?
Open
#58.670 geöffnet am 8. Juni 2025
help wantedminor change
Repository-Metriken
- Stars
- (48.709 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 23T 11h) (145 gemergte PRs in 30 T)
Beschreibung
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