FStarLang / FStarLang/pulse

Annotated function types do not work with recursion

Open
#477 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
36
Forks
11
PR merge metrics
No merged PRs in 30d

Description

```fstar
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.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.