Skip to content

Inner function types in function type specs break highlighting of outer constructs #28

@dead-claudia

Description

@dead-claudia

Screenshot:

Screenshot 2021-09-24 214731

This similarly breaks when you just do fun(), though function() works as a workaround for that specific case.

fun() and fun(() -> some_type()) are valid types: https://erlang.org/doc/reference_manual/typespec.html#types-and-their-syntax

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