aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/polymorphism.v10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-suite/success/polymorphism.v b/test-suite/success/polymorphism.v
index 0a58fe89a..66ff55edc 100644
--- a/test-suite/success/polymorphism.v
+++ b/test-suite/success/polymorphism.v
@@ -333,12 +333,12 @@ Module Anonymous.
Definition anonid := (fun x => x) : Type -> Type@{_}.
Check anonid@{_}.
- Definition defaultalg := Type : Type.
- Definition usedefaultalg := defaultalg@{_ _}.
+ Definition defaultalg := (fun x : Type => x) (Type : Type).
+ Definition usedefaultalg := defaultalg@{_ _ _}.
Check usedefaultalg@{_ _}.
- Definition anonalg := (fun x => x) (Type : Type@{_}).
- Check anonalg@{_}.
+ Definition anonalg := (fun x : Type@{_} => x) (Type : Type).
+ Check anonalg@{_ _}.
Definition unrelated@{i j} := nat.
Definition useunrelated := unrelated@{_ _}.
@@ -346,7 +346,7 @@ Module Anonymous.
Definition inthemiddle@{i j k} :=
let _ := defaultid@{i j} in
- defaultalg@{k j}.
+ anonalg@{k j}.
(* i <= j < k *)
Definition collapsethemiddle := inthemiddle@{i _ j}.
Check collapsethemiddle@{_ _}.