JetBrains / la-clojure

Clojure plugin for IntelliJ IDEA
Apache License 2.0
220 stars 49 forks source link

bug with "Cannot evaluate" #9

Closed bartosz-k closed 12 years ago

bartosz-k commented 12 years ago

this text in Clojure is correct: (defn | [x] x)

but La Clojure says that: "S-expressions contains syntax errors".

How can I disable this buggy check?

ilyasergey commented 12 years ago

Apparently, the character "|" is considered as non-identifier. You can load the whole file to REPL or rename the function "|". This behaviour will be fixed in the next plugin version.

bartosz-k commented 12 years ago

(defn -> [x] x) does not work too. Maybe plugin's parser should be rethought.