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

Open
aniva wants to merge 1 commits from repl/elab-option into dev
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 0.3.1 milestone 2025-04-10 23:19:57 -07:00
aniva added the
part/REPL
part/Elab
category
feature
labels 2025-04-10 23:19:57 -07:00
aniva self-assigned this 2025-04-10 23:19:57 -07:00
aniva added 1 commit 2025-04-10 23:19:57 -07:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No description provided.