[CLJ-1516] Throw an exception if def name contains a dot Created: 29/Aug/14 Updated: 29/Aug/14
|Affects Version/s:||Release 1.6|
In this comment: http://dev.clojure.org/jira/browse/CLJ-1100?focusedCommentId=35510&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-35510 Rich said that Vars whose name contains a dot are not supported, but the current implementation allows their definition.
|Comment by Alex Miller [ 29/Aug/14 10:41 AM ]|
I'm curious whether this breaks existing code in the wild.
|Comment by Nicola Mometto [ 29/Aug/14 10:45 AM ]|
I find this hard to believe given the current behaviour:
one would need to go out of his way and refer to the var namespace qualified everywhere to make it work
|Comment by Nicola Mometto [ 29/Aug/14 11:03 AM ]|
After a brief conversation on #clojure, I updated the patch to only throw on non-macro defs so that macros like clojure.core/.. and clojure.core.incubator/.?. will work fine