fix(repl): Elaborate with errToSorry as false by default #187

Merged
aniva merged 1 commit from repl/elab-option into dev 2025-05-01 09:00:04 -07:00
Owner

We address two cases. One is ambiguous elaboration. For example if exp is a type class function that can act on both Nat and Real

example : exp 2 <= exp 3

The other case is we don't collect goals with sorrys in them. For example,

example : f true = f false

with f being undefined. The old behaviour would emit a goal with sorry in its target type and this is pathological.

We address two cases. One is ambiguous elaboration. For example if `exp` is a type class function that can act on both `Nat` and `Real` ``` example : exp 2 <= exp 3 ``` The other case is we don't collect goals with `sorry`s in them. For example, ``` example : f true = f false ``` with `f` being undefined. The old behaviour would emit a goal with `sorry` in its target type and this is pathological.
aniva added this to the v0.3.1 milestone 2025-04-10 23:19:57 -07:00
aniva self-assigned this 2025-04-10 23:19:57 -07:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: aniva/Pantograph#187
No description provided.