X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fcontinuationals.ml;h=93695fa9312d6a1398f76d162c264a9e3edc2de7;hb=36f16f9b183c7324d8c8ff4851c6481a48296304;hp=c6e4f0c1841fb68814a7632218e13cfc068b5dbf;hpb=494d586c56cf3ecfcd2b495c5bb10d8b26260340;p=helm.git diff --git a/helm/software/components/tactics/continuationals.ml b/helm/software/components/tactics/continuationals.ml index c6e4f0c18..93695fa93 100644 --- a/helm/software/components/tactics/continuationals.ml +++ b/helm/software/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)