Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export API to run tactics at a given loc #964

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix log
rtetley committed Dec 13, 2024
commit 54298bb95d8370a4efec80e50492d7634bd46428
2 changes: 1 addition & 1 deletion language-server/vscoqtop/lspManager.ml
Original file line number Diff line number Diff line change
@@ -562,7 +562,7 @@ let sendCoqPilotResult id params =
let Request.Client.CoqPilotParams.{ textDocument; position; text} = params in
let uri = textDocument.uri in
match Hashtbl.find_opt states (DocumentUri.to_path uri) with
| None -> log @@ "[documentState] ignoring event on non existant document"; Error("Document does not exist"), []
| None -> log @@ "[coqPilotResult] ignoring event on non existant document"; Error("Document does not exist"), []
| Some st ->
let errors = Dm.DocumentManager.coq_pilot_observe st position text in
log "Sending errors for coqpilot request:";