diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2018-03-06 10:09:53 +0100 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2018-03-06 10:09:53 +0100 |
commit | db8fcbb7763ac784f7c72b72509d5dc7c2c5323c (patch) | |
tree | 44b43bcbdec48ac23a458e2c525e9a716592b4aa /test-suite/success | |
parent | ddc9728030a98b03447e321d2eb4af0d92add11f (diff) | |
parent | 50c948480647af3c5aaea5f80fa9f3341471f2b0 (diff) |
Merge PR #6749: Fixing an anomaly in the presence of "let-in" in the type of a record.
Diffstat (limited to 'test-suite/success')
-rw-r--r-- | test-suite/success/Inductive.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/success/Inductive.v b/test-suite/success/Inductive.v index 893d75b77..5b1482fd5 100644 --- a/test-suite/success/Inductive.v +++ b/test-suite/success/Inductive.v @@ -200,3 +200,9 @@ Module NonRecLetIn. (fun n b c => f_equal (Rec n) eq_refl) 0 (Rec 0 (Base 1)). End NonRecLetIn. + +(* Test treatment of let-in in the definition of Records *) +(* Should fail with "Sort expected" *) + +Fail Inductive foo (T : Type) : let T := Type in T := + { r : forall x : T, x = x }. |