test-suite/bugs/bug_18831.v
raw| 1 | |
| 2 | |
| 3 | Set Universe Polymorphism. |
| 4 | |
| 5 | Inductive and@{s;u v|} (A:Type@{s;u}) (B:Type@{s;v}) : Type@{s;max(u,v)} := conj (_:A) (_:B). |
| 6 | |
| 7 | Lemma foo (A B:Prop) (x:and A B) : A. |
| 8 | Proof. |
| 9 | destruct x. |
| 10 | (* Error: <in exception printer>: Anomaly "Uncaught exception Option.IsNone." |
| 11 | Please report at http://coq.inria.fr/bugs/. |
| 12 | <original exception>: Uncaught exception Logic_monad.TacticFailure(_). *) |
| 13 | |
| 14 | assumption. |
| 15 | Qed. |