gigasquid opened a new issue #13386: [Clojure] - Remove refer warning URL: https://github.com/apache/incubator-mxnet/issues/13386 Currently on the master branch if you run the clojure package, you will see the warnings: ``` WARNING: ref already refers to: #'clojure.core/ref in namespace: org.apache.clojure-mxnet.ndarray, being replaced by: #'org.apache.clojure-mxnet.ndarray/ref WARNING: ref already refers to: #'clojure.core/ref in namespace: org.apache.clojure-mxnet.symbol, being replaced by: #'org.apache.clojure-mxnet.symbol/ref ``` The reason this is occurring is because a new operator has been added that is brought dynamically by the backend and scala package. This can be removed by adding it to the `:refer-clojure :exclude` in the `ndarray.clj` https://github.com/apache/incubator-mxnet/blob/master/contrib/clojure-package/src/org/apache/clojure_mxnet/ndarray.clj#L19 and `symbol.clj`https://github.com/apache/incubator-mxnet/blob/master/contrib/clojure-package/src/org/apache/clojure_mxnet/symbol.clj. It will also need to be added to the generated code as well which is in the `generator.clj` https://github.com/apache/incubator-mxnet/blob/master/contrib/clojure-package/src/dev/generator.clj#L215 and https://github.com/apache/incubator-mxnet/blob/master/contrib/clojure-package/src/dev/generator.clj#L308
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
