| 1 |
(* constant transparent in one hintdb but not the other *) |
| 2 |
|
| 3 |
Definition one := 1. |
| 4 |
Theorem thm : one = 1. reflexivity. Qed. |
| 5 |
Create HintDb db1 discriminated. |
| 6 |
Hint Opaque one : db1. |
| 7 |
Hint Resolve thm | 1 : db1. |
| 8 |
Create HintDb db2 discriminated. |
| 9 |
|
| 10 |
Goal 1 = 1. |
| 11 |
Fail typeclasses eauto with db1 db2 nocore. |
| 12 |
Succeed eauto with db1 db2 nocore. (* bug! *) |
| 13 |
Succeed auto with db1 db2 nocore. (* bug! *) |
| 14 |
|
| 15 |
Hint Resolve thm | 2 : db2. |
| 16 |
Succeed typeclasses eauto with db1 db2 nocore. |
| 17 |
Abort. |