Skip to content

Wrong typespec for ktn_code:type/1 #87

@paulo-ferraz-oliveira

Description

@paulo-ferraz-oliveira

Per elvis_core, the definition of https://github.com/inaka/katana-code/blob/main/src/ktn_code.erl#L187 is wrong, since in the case of a macro we can also get ktn_code:type(MaybeMacro) -> {atom, [_, _], define}.

We should at least code for that specific fix.

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