diff options
| author | Jason Gross | 2020-03-23 15:53:26 -0400 |
|---|---|---|
| committer | Jason Gross | 2020-03-23 15:55:40 -0400 |
| commit | 528dd28a48dd7b1898212e2aae9b43bb19fb91cc (patch) | |
| tree | c797790a1aa47c14286b92a4dca0526c0262fc35 /test-suite | |
| parent | b079040702d34ab06a0b1da2893d739e04477b78 (diff) | |
Fix levels of `<=?` and `<?` in the stdlib
They were defined at level 70, no associativity in all but three places,
where they were instead declared at level 35.
Fixes #11890
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_11890.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_11890.v b/test-suite/bugs/closed/bug_11890.v new file mode 100644 index 0000000000..c0426fcfda --- /dev/null +++ b/test-suite/bugs/closed/bug_11890.v @@ -0,0 +1,10 @@ +Require Import Coq.Structures.Orders Coq.ZArith.ZArith Coq.Sorting.Mergesort. +(* Note that this has always worked fine without the '; we are testing importing notations from the stdlib here *) +Declare Module A : LeBool'. +Declare Module B : LtBool'. +Import A B NatOrder. +(* +Error: Notation "_ <=? _" is already defined at level 70 with arguments constr +at next level, constr at next level while it is now required to be at level 35 +with arguments constr at next level, constr at next level. +*) |
