From: Enrico Tassi Date: Wed, 26 Jul 2006 08:35:34 +0000 (+0000) Subject: order is important X-Git-Tag: 0.4.95@7852~1149 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=23afaebafcc8662a1617629cb01040782c8afca3;p=helm.git order is important --- diff --git a/components/tactics/continuationals.ml b/components/tactics/continuationals.ml index c6e4f0c18..93695fa93 100644 --- a/components/tactics/continuationals.ml +++ b/components/tactics/continuationals.ml @@ -332,7 +332,7 @@ struct | Shift, _ -> fail (lazy "can't shift goals here") | Pos i_s, ([ loc ], t, [],`BranchTag) :: (g', t', k', tag) :: s when is_fresh loc -> - let l_js = List.filter (fun (i, _) -> List.mem i i_s) (g' @+ [loc]) in + let l_js = List.filter (fun (i, _) -> List.mem i i_s) ([loc] @+ g') in new_stack ((l_js, t , [],`BranchTag) :: (([ loc ] @+ g') @- l_js, t', k', tag) :: s)