aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-08-29 15:52:49 +0200
committerPierre-Marie Pédrot2014-08-29 18:43:06 +0200
commite3f2781feb49325615affaaef2853c56874e6c22 (patch)
treeb555e77cb1833390eb37a67731a4f34a1a030885 /tactics
parent029f850bceb1f68640fe7b703b0875ad02486691 (diff)
Simplification of Genarg unpackers.
Instead of having a version of unpackers for each level, we use a dummy argument to force unification of types.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/geninterp.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tactics/geninterp.ml b/tactics/geninterp.ml
index 4a49ae287f..5d76686bb8 100644
--- a/tactics/geninterp.ml
+++ b/tactics/geninterp.ml
@@ -31,8 +31,8 @@ let interp = Interp.obj
let register_interp0 = Interp.register0
let generic_interp ist gl v =
- let unpack wit v =
- let (sigma, ans) = interp wit ist gl v in
+ let unpacker wit v =
+ let (sigma, ans) = interp wit ist gl (glb v) in
(sigma, in_gen (topwit wit) ans)
in
- glb_unpack { glb_unpack = unpack; } v
+ unpack { unpacker; } v