Affects Version/s: Release 1.5
Fix Version/s: None
Problem: Libraries that provide DSLs (such as core.matrix) often replace or extend functions in core (such as "+", "==", "zero?"), since it is desirable to use the best / most idiomatic names.
Currently importing such libraries with "use" causes unwanted warnings like "WARNING: + already refers to: #'clojure.core/+ in namespace: test.blank, being replaced by: #'clojure.core.matrix/+".
Avoiding these warnings requires extra user effort and boilerplate code, which is frustrating for users since they have already explicitly asked for the full library to be imported into the current namespace (i.e. via "use" or ":refer :all").
Proposed solution is to introduce a new var warn-on-replace similar to warn-on-reflection which allows this warning to be controlled.
|Patch||Code [ 10001 ]|
|Issue Type||Defect [ 1 ]||Enhancement [ 4 ]|
|Summary||Suppress warnings when clojure.core symbols are explicitly replaces with "use" or "refer"||Suppress warnings when clojure.core symbols are explicitly replaced with "use" or "refer"|