-
Notifications
You must be signed in to change notification settings - Fork 339
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
__IMPOSSIBLE__
when tactic is used on record fields that are functions
#5712
Labels
coverage
Pattern-matching coverage checker
internal-error
Concerning internal errors of Agda
regression in 2.6.1
Regression that first appeared in Agda 2.6.1
tactic
tactic annotations
Milestone
Comments
This passes without error on 2.6.1. Running bisect:
|
Error here: agda/src/full/Agda/TypeChecking/Coverage.hs Line 480 in 9428b1d
This is a regression in 2.6.2 introduced by me by the fix of #5358: 0cdd208 is the first bad commit Date: Fri May 7 21:51:20 2021 +0200 [ fixed #5358 ] don't expand clauses with tactics attached to them |
andreasabel
added a commit
that referenced
this issue
Dec 31, 2021
Fix of #5358 prevented trailing arg insertion in the coverage checker if there was a tactic (at function type). However, in the presence of a user written arg, the insertion should not be prevented.
andreasabel
added a commit
that referenced
this issue
Jan 3, 2022
Fix of #5358 prevented trailing arg insertion in the coverage checker if there was a tactic (at function type). However, in the presence of a user written arg, the insertion should not be prevented.
Picked for 2.6.2.2-rc2 (with easily fixed merge conflict). |
andreasabel
added a commit
that referenced
this issue
Mar 27, 2022
Fix of #5358 prevented trailing arg insertion in the coverage checker if there was a tactic (at function type). However, in the presence of a user written arg, the insertion should not be prevented. Conflicts: src/full/Agda/TypeChecking/Coverage.hs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
coverage
Pattern-matching coverage checker
internal-error
Concerning internal errors of Agda
regression in 2.6.1
Regression that first appeared in Agda 2.6.1
tactic
tactic annotations
MWE:
This produces:
It only occurs when
foo
is a function, and the definition ofF
includes that field. (When the last line in the code is left out, it runs fine because Agda can infer a value of⊤
even when the tactic is doing nothing.)The text was updated successfully, but these errors were encountered: