From 30ed0b3385d80e2abe3d2d8c67ce09643a8bf74c Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Wed, 29 May 2019 16:35:51 +0200 Subject: Fix #10268: vio2vo produces incorrect term when discharging. We do not partially abstract the section info. Instead, we reuse the same code in cook_constr and cook_constant and pass the same section info. --- test-suite/vio/section.v | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test-suite/vio/section.v (limited to 'test-suite') diff --git a/test-suite/vio/section.v b/test-suite/vio/section.v new file mode 100644 index 0000000000..0e7722516a --- /dev/null +++ b/test-suite/vio/section.v @@ -0,0 +1,12 @@ +Section Foo. + Variable A : Type. + + Definition bla := A. + + Variable B : bla. + + Lemma blu : {X:Type & X}. + Proof using A B. + exists bla;exact B. + Qed. +End Foo. -- cgit v1.2.3