JuliaLang/julia

warn on constant redefinition (in package tests)?

Ouverte

#58 670 ouverte le 8 juin 2025

 (7 commentaires) (4 réactions) (0 personne assignée)Julia (5 773 forks)batch import
help wantedminor change

Métriques du dépôt

Stars
 (48 709 étoiles)
Métriques de merge PR
 (Merge moyen 20j 6h) (157 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