]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fixed (in Cast).
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 17 Jan 2006 18:21:31 +0000 (18:21 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 17 Jan 2006 18:21:31 +0000 (18:21 +0000)
helm/ocaml/tactics/proofEngineReduction.ml

index cc5af63ae3558aaa7feb7697d59f3b67b386be84..fca06f6f078301430648759b07c445d5955e6f0f 100644 (file)
@@ -631,7 +631,7 @@ let simpl context =
     | C.Sort _ as t -> t (* l should be empty *)
     | C.Implicit _ as t -> t
     | C.Cast (te,ty) ->
-       C.Cast (reduceaux context l te, reduceaux context l ty)
+       C.Cast (reduceaux context l te, reduceaux context [] ty)
     | C.Prod (name,s,t) ->
        assert (l = []) ;
        C.Prod (name,