Hello, I have just been stuck for ages trying to figure out what was going on in my first clojurescript application and think I have found a bug.
I took some working game playing code for a simple tictactoe example and found that I got incorrectly names JS outputted I have created a project with as little clutter as possible. The cljs I am runing is at https://github.com/thattommyhall/cljs-bug/blob/master/src/cljs/aima-clojure/games/tictactoe-frontend.cljs and the commit that fixes it is https://github.com/thattommyhall/cljs-bug/commit/f80cdc4e97f94a6228ecf33d58d489af5de56245 It seems to generate game.aima - clojure$game$Game$moves$arity$2 (ie a subtraction operator) as you can see in the diff. I worked around it for now by adding an alias (def moves game/moves) outside and calling that rather than calling game/moves inside the function. Pretty sure this is a cljs bug as the clj tests run ok either way. Cheers, Tom -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.