diff --git a/theories/utils/switch.v b/theories/utils/switch.v index 4e4c60298e67ace7da129105af18a81059e3f42b..e44f2343390c0f6626aad34354c153036bbf2fc6 100644 --- a/theories/utils/switch.v +++ b/theories/utils/switch.v @@ -54,7 +54,7 @@ Qed. Lemma switch_lams_spec `{heapGS Σ} y i n ws vs e Φ : length vs = n → WP subst_map (map_string_seq y i vs ∪ ws) e {{ Φ }} -∗ - WP subst_map ws (switch_lams y i n e) {{ w, WP fill (AppLCtx <$> vs) (w : val) {{ Φ }} }}. + WP subst_map ws (switch_lams y i n e) {{ w, WP fill (AppLCtx <$> vs) (of_val w) {{ Φ }} }}. (* FIXME: Once we depend on Coq 8.13, make WP notation use [v closed binder] so that we can add a type annotation at the [w] binder here. *) Proof.