Allow "dune coq top" to step through unsaved files
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 1.9k
- Forks
- 500
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 277
Description
Desired Behavior
(This is a follow up to https://github.com/ocaml/dune/issues/7355, which was not completely addressed.)
If a file file.v that has not yet be written to disk would be part of a coq.theory stanza, then dune coq top file.v should not fail, and allow you to step through the file.
Current behavior
The command currently fails with Error: Cannot find file: file.v.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the dune coq top file.v command and trace how files in a coq.theory stanza are resolved. Check the unsaved-file path described in the issue and confirm that file.v can be stepped through without being written to disk. Done means the command no longer reports Cannot find file: file.v for such a file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100