JuliaLang/julia

warn on constant redefinition (in package tests)?

Open

#58,670 创建于 2025年6月8日

在 GitHub 查看
 (7 评论) (4 反应) (0 负责人)Julia (48,709 star) (5,773 fork)batch import
help wantedminor change

描述

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

贡献者指南