Skip to content

Invalid when adding type hints #26

@MrHus

Description

@MrHus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions