Fork me on GitHub
#cljs-dev
<
2016-01-30
>
mfikes14:01:52

Is it intentional that you can replace the definition of a referred var, meaning in its original namespace. (An attempt to do this in Clojure balks.) I’m sure this gist reflects a bug, but it is hard to write a ticket that indicates which aspect is incorrect: https://gist.github.com/mfikes/8e2ef642ade1049ce135 (Also, see CLJS-1506—I checked and that change didn’t introduce the ability to replace the definition.)

bronsa15:01:34

that looks completely wrong to me

bronsa15:01:48

I'd be surprised if that was intentional behaviour

dnolen16:01:39

@mfikes: that gist seems like a bug to me

mfikes16:01:34

Clojure seems to cleanly handle the situation by completely disallowing it.