-
Notifications
You must be signed in to change notification settings - Fork 636
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
match return clause annotations in Coq master result in regression in typechecking of terms with existing constraints #9955
Comments
More minimal version: (* -*- coq-prog-args: ("-nois" "-boot") -*- *)
Inductive bool := true | false.
Axiom x : bool.
Definition foo
:= (fun (T : forall b : bool, Type)
(f : forall b, T b)
=> true)
_
(fun _ : bool
=> match x with true => true | false => false end). Note that this issue does not show up with |
Note also that inserting |
Bisect blames #262:
|
Some commits to look at: |
@ejgallego No, I don't think so, it was broken already at 0bcbc99 (merge of #262) and bisect blames one of the commits in that PR. Thanks, though! |
Reported as coq/coq#9955
After some discussion with @ejgallego, this is apparently a regression due to a change in return clause annotations. (Coq has apparently never been able to solve unification problems of the form |
Reported as coq/coq#9955
Description of the problem
This works in Coq 8.9 but fails in recent master
Found when trying to merge a PR into fiat-crypto, travis log here
cc @herbelin
Coq Version
master (b177e7b)
The text was updated successfully, but these errors were encountered: