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

貢獻者指南