Skip to content

protocols with hyphen and multiple parameters #1230

Closed
@FalseProtagonist

Description

@FalseProtagonist

It seems like protocol definitions where the inner function name has a hyphen (and also more than one parameter) explode, in latest version and old ones.

(defprotocol PP (-p [a x]))

CompilerException: host interop prop must be exactly 2 elements long: (.-field target) {:file "" :phase :analyzing :form (.-mouse-move elem pos)}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions