diff options
| author | Gaëtan Gilbert | 2018-12-14 14:00:14 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-12-17 14:49:44 +0100 |
| commit | bdd943063ccd1309654b545819964c7c20752314 (patch) | |
| tree | 1e4ae33e5c8bdf86b2ba7ef51d211baefdc7c71a /test-suite | |
| parent | 854d3e1b404fb3ee9087ffb07cbba7cc9196c1f9 (diff) | |
Restrict body universes in delayed mode.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/stm/delayed_restrict_univs_9093.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/stm/delayed_restrict_univs_9093.v b/test-suite/stm/delayed_restrict_univs_9093.v new file mode 100644 index 0000000000..6ca36da4b0 --- /dev/null +++ b/test-suite/stm/delayed_restrict_univs_9093.v @@ -0,0 +1,10 @@ +(* -*- coq-prog-args: ("-async-proofs" "on"); -*- *) + +Unset Universe Polymorphism. + +Ltac exact0 := let x := constr:(Type) in exact 0. + +Lemma lemma_restrict_abstract@{} : (nat * nat)%type. +Proof. split;[exact 0|abstract exact0]. Qed. +(* Debug: 10237:proofworker:0:0 STM: sending back a fat state +Error: Universe {polymorphism.1} is unbound. *) |
