Invalid when adding type hints
MrHus opened this issue · comments
Maarten Hus commented
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.