JuliaLang/julia

warn on constant redefinition (in package tests)?

オープン

#58,670 opened on 2025/06/08

 (7 件のコメント) (4 件のリアクション) (0 人の担当者)Julia (5,773 件のフォーク)batch import
help wantedminor change

Repository metrics

Stars
 (48,709 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド