swannodette / textmate-clojure

TextMate bundle for Clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid when adding type hints

MrHus opened this issue · comments

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.