diff options
| author | Emilio Jesus Gallego Arias | 2019-12-03 14:27:37 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-12-03 14:27:37 +0100 |
| commit | effbc03b9072ff94f96e54a5026ce04d7aa41bcc (patch) | |
| tree | 07310085b4d0263e211192ecf2ceeedd618cd167 /test-suite | |
| parent | de91f71b2e25e66ba4dd1f1db6582f5fea205591 (diff) | |
| parent | 88fe0bcf86ad6cb95ffacfcd37f51fa3ae2da4fc (diff) | |
Merge PR #11113: Remove deprecated compat modifier of Notation / Infix commands.
Reviewed-by: JasonGross
Reviewed-by: ejgallego
Reviewed-by: maximedenes
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/NotationDeprecation.v | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test-suite/success/NotationDeprecation.v b/test-suite/success/NotationDeprecation.v index 96814a1b97..60d40d3d12 100644 --- a/test-suite/success/NotationDeprecation.v +++ b/test-suite/success/NotationDeprecation.v @@ -3,19 +3,11 @@ Module Syndefs. #[deprecated(since = "8.9", note = "Do not use.")] Notation foo := Prop. -Notation bar := Prop (compat "8.9"). - -Fail -#[deprecated(since = "8.9", note = "Do not use.")] -Notation zar := Prop (compat "8.9"). - Check foo. -Check bar. Set Warnings "+deprecated". Fail Check foo. -Fail Check bar. End Syndefs. @@ -24,19 +16,11 @@ Module Notations. #[deprecated(since = "8.9", note = "Do not use.")] Notation "!!" := Prop. -Notation "##" := Prop (compat "8.9"). - -Fail -#[deprecated(since = "8.9", note = "Do not use.")] -Notation "**" := Prop (compat "8.9"). - Check !!. -Check ##. Set Warnings "+deprecated". Fail Check !!. -Fail Check ##. End Notations. @@ -45,18 +29,10 @@ Module Infix. #[deprecated(since = "8.9", note = "Do not use.")] Infix "!!" := plus (at level 1). -Infix "##" := plus (at level 1, compat "8.9"). - -Fail -#[deprecated(since = "8.9", note = "Do not use.")] -Infix "**" := plus (at level 1, compat "8.9"). - Check (_ !! _). -Check (_ ## _). Set Warnings "+deprecated". Fail Check (_ !! _). -Fail Check (_ ## _). End Infix. |
