Sorry capture with instances doesn't work #241

Closed
opened 2025-07-13 21:50:15 -07:00 by aniva · 0 comments
Owner

Vide https://github.com/leanprover-community/repl/issues/107

frontend.process {"file": "def test (α : Type) [s : Inhabited α] : α := @Inhabited.default α s", "readHeader": false, "inheritEnv": true, "sorrys": false, "typeErrorsAsGoals": false, "newConstants": false}
frontend.process {"file": "def test2 (α : Type) [Inhabited α] : α := by exact test α", "readHeader": false, "inheritEnv": true, "sorrys": false, "typeErrorsAsGoals": false, "newConstants": false}
frontend.process {"file": "example (α : Type) [Inhabited α] : α := sorry", "readHeader": false, "inheritEnv": true, "sorrys": true, "typeErrorsAsGoals": false, "newConstants": false}
goal.tactic {"stateId": 0, "tactic": "exact test α"}
Vide https://github.com/leanprover-community/repl/issues/107 ```jsonl frontend.process {"file": "def test (α : Type) [s : Inhabited α] : α := @Inhabited.default α s", "readHeader": false, "inheritEnv": true, "sorrys": false, "typeErrorsAsGoals": false, "newConstants": false} frontend.process {"file": "def test2 (α : Type) [Inhabited α] : α := by exact test α", "readHeader": false, "inheritEnv": true, "sorrys": false, "typeErrorsAsGoals": false, "newConstants": false} frontend.process {"file": "example (α : Type) [Inhabited α] : α := sorry", "readHeader": false, "inheritEnv": true, "sorrys": true, "typeErrorsAsGoals": false, "newConstants": false} goal.tactic {"stateId": 0, "tactic": "exact test α"} ```
aniva added this to the v0.3.5 milestone 2025-07-13 21:50:15 -07:00
aniva added the
part/Frontend
part/Goal
category
bug
priority
medium
labels 2025-07-13 21:50:15 -07:00
aniva self-assigned this 2025-07-13 21:50:15 -07:00
aniva added a new dependency 2025-07-13 22:58:07 -07:00
aniva added a new dependency 2025-07-13 23:02:36 -07:00
aniva closed this issue 2025-07-13 23:03:14 -07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: aniva/Pantograph#241
No description provided.