swannodette / textmate-clojure

TextMate bundle for Clojure
91 stars 25 forks source link

Invalid when adding type hints #26

Open MrHus opened 13 years ago

MrHus commented 13 years ago

This code gets marked as invalid

(defn- ctor-sigs [^Class super]
   (for [^Constructor ctor (. super (getDeclaredConstructors)) :when (not (. Modifier (isPrivate (. ctor (getModifiers)))))]
       (apply vector (. ctor (getParameterTypes)))))

The problem lies in ^Constructor remove the line and the invalid line is valid again.

I think the error lies in the ^ char.