Skip to content

Annotated function types do not work with recursion #477

@gebner

Description

@gebner
let t = unit -> stt unit emp (fun _ -> emp)

fn rec f () : t = _ { f () }

The error message is really bad, because we don't show it in the VS Code extension.

Error: Unexpected error: File "plugin/syntax_extension/PulseSyntaxExtension_Desugar.ml", line 3700, characters 11-16: Pattern matching failed

Error: Please file a bug report, ideally with a minimized version of the source program that triggered the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions