JuliaLang/julia
Ver no GitHubwarn on constant redefinition (in package tests)?
Open
#58.670 aberto em 8 de jun. de 2025
help wantedminor change
Métricas do repositório
- Stars
- (48.709 stars)
- Métricas de merge de PR
- (Mesclagem média 23d 11h) (145 fundiu PRs em 30d)
Description
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