In anticipation of a uniformisation in coq/coq#17084 of how references with maximal implicit arguments are interpreted in Ltac code (*), this PR fixes the tactic has_var in Autosubst_Derive.v so that when None is returned, it returns it with its implicit argument rather than without.
This is a priori backwards compatible, so it can be merged as soon as now.
(*) Prior to coq/coq#17084, maximal implicit arguments are inserted in interactive mode but not in non-interactive mode.
In anticipation of a uniformisation in coq/coq#17084 of how references with maximal implicit arguments are interpreted in Ltac code (*), this PR fixes the tactic
has_var
inAutosubst_Derive.v
so that whenNone
is returned, it returns it with its implicit argument rather than without.This is a priori backwards compatible, so it can be merged as soon as now.
(*) Prior to coq/coq#17084, maximal implicit arguments are inserted in interactive mode but not in non-interactive mode.