JuliaLang/julia

warn on constant redefinition (in package tests)?

Aberta

#58.670 aberto em 8 de jun. de 2025

 (7 comentários) (4 reações) (0 responsável)Julia (5.773 forks)batch import
help wantedminor change

Métricas do repositório

Stars
 (48.709 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador