ijanet-mode
ijanet-mode copied to clipboard
String arguments passed to functions are interpreted as symbols
(defn foo [s]
(print s))
(defn bar []
(foo "derp"))
If I evaluate the above, I get a compile error: unknown symbol derp on line 9, column 14 while compiling repl
This does not happen if the passed value is a number.
It seems the problem only manifests when you eval the sexp. Evaluating the entire buffer works fine.