diff options
| author | Hugo Herbelin | 2017-04-02 19:12:44 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2017-04-09 11:52:17 +0200 |
| commit | 21d308fc083ee395e7b1ff78e75ec3a1305cb2f4 (patch) | |
| tree | 45d6f6a8b046b49f40b3e9cf2c360ebf77e21f27 /test-suite | |
| parent | 8a35d93061c67dcdbb12337b78fcb35d72957f51 (diff) | |
Fixing several wrong computations of implicit arguments by position
in the presence of let-ins.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/ImplicitArguments.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/success/ImplicitArguments.v b/test-suite/success/ImplicitArguments.v index f702aa62f1..f07773f8bd 100644 --- a/test-suite/success/ImplicitArguments.v +++ b/test-suite/success/ImplicitArguments.v @@ -21,3 +21,9 @@ Fixpoint app {A : Type} {n m : nat} (v : vector A n) (w : vector A m) : vector A (* Test sharing information between different hypotheses *) Parameters (a:_) (b:a=0). + +(* These examples were failing due to a lifting wrongly taking let-in into account *) + +Definition foo6 (x:=1) : forall {n:nat}, n=n := fun n => eq_refl. + +Fixpoint foo7 (x:=1) (n:nat) {p:nat} {struct n} : nat. |
