JuliaLang/julia

warn on constant redefinition (in package tests)?

Open

#58,670 建立於 2025年6月8日

在 GitHub 查看
 (7 留言) (4 反應) (0 負責人)Julia (5,773 fork)batch import
help wantedminor change

倉庫指標

Star
 (48,709 star)
PR 合併指標
 (平均合併 20天 6小時) (30 天內合併 157 個 PR)

描述

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

貢獻者指南