FStarLang / FStarLang/pulse

`with` takes arg qualifiers

Open
#222 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
36
Forks
11
PR merge metrics
No merged PRs in 30d

Description

```fstar
fn foo (r : ref int)
requires pts_to r 2
ensures pts_to r 2
{
with #w. assert pts_to r w;
}
```
This probably should not be accepted since the hash on `w` is ignored.

Contributor guide

No contributing guide indexed for this repository

Research direction

Use the F* example in the issue as the starting case and inspect how `with` handles the `#w` argument qualifier. Determine where the ignored hash should be rejected, then verify that this example is no longer accepted without changing valid `with` usage.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.