JuliaLang/julia

warn on constant redefinition (in package tests)?

Open

#58 670 ouverte le 8 juin 2025

Voir sur GitHub
 (7 commentaires) (4 réactions) (0 assignés)Julia (5 773 forks)batch import
help wantedminor change

Métriques du dépôt

Stars
 (48 709 stars)
Métriques de merge PR
 (Merge moyen 23j 11h) (145 PRs mergées en 30 j)

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

Guide contributeur