Bug#921991: libregex-clojure: warning is printed when library is loaded
Alex Miller
alex at puredanger.com
Mon Feb 11 02:15:27 GMT 2019
This is just a warning that there is name shadowing happening. Everything
will work as expected, so it's not a problem.
It's also easy to fix in the code in question by excluding the `cat` name
from clojure.core to avoid the shadowing, but it's not required.
Would just add cat to the list of excluded symbols here:
https://github.com/cgrand/regex/blob/master/src/net/cgrand/regex.clj#L5
I created a PR for it here: https://github.com/cgrand/regex/pull/9
Alex
On Sun, Feb 10, 2019 at 7:36 PM Elana Hashman <ehashman at debian.org> wrote:
> Package: libregex-clojure
> Version: 1.1.0-2
> Severity: minor
>
> When libregex-clojure is loaded, the following warning is printed:
>
>
> WARNING: cat already refers to: #'clojure.core/cat in namespace:
> net.cgrand.regex, being replaced by: #'net.cgrand.regex/cat
>
> I believe this behaviour is also present in the autopkgtests. The
> upstream package does not do this, we should be consistent.
> _______________________________________________
> Pkg-clojure-maintainers mailing list
> Pkg-clojure-maintainers at alioth-lists.debian.net
>
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-clojure-maintainers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-clojure-maintainers/attachments/20190210/0d8a745e/attachment-0002.html>
More information about the Pkg-clojure-maintainers
mailing list