diff options
| author | Pierre Boutillier | 2013-12-19 18:19:10 +0100 |
|---|---|---|
| committer | Pierre Boutillier | 2013-12-19 18:19:10 +0100 |
| commit | 5524273641556c81ce8f591861b19eae00fec27b (patch) | |
| tree | 8e1513de7386147b9cd2d724e389337c0ae10756 | |
| parent | 7c4dee1381546347df8b473ef3986b654f03c33d (diff) | |
Bad use of Obj.magic in interpretation of TacAlias arguments.
It triggered nonsensical behaviour of list-using tactic
notation. Hopefully or not, nobody uses such notations out of
the test-suite...
| -rw-r--r-- | tactics/tacinterp.ml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml index 0303dbea04..8aafb59a96 100644 --- a/tactics/tacinterp.ml +++ b/tactics/tacinterp.ml @@ -2025,9 +2025,11 @@ and interp_atomic ist tac = l >>== fun l -> Proofview.Goal.return (a'::l) end x (Proofview.Goal.return []) >>== fun l -> + let wit_t = Obj.magic t in + let l = List.map (fun arg -> out_gen wit_t arg) l in Proofview.Goal.return (in_gen - (topwit (wit_list (Obj.magic t))) - l) + (topwit (wit_list wit_t)) + l) | ExtraArgType _ -> (** Special treatment of tactics *) if has_type x (glbwit wit_tactic) then |
