]> matita.cs.unibo.it Git - helm.git/commitdiff
Capitalization of variables bound in patterns fixed.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Aug 2012 13:00:29 +0000 (13:00 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Aug 2012 13:00:29 +0000 (13:00 +0000)
matita/components/ng_kernel/nCicExtraction.ml

index aa9e7bd8f8589ad70f859de48fd9087da8e701b0..5690d1c9f7f58da6fc55fa69c65dfe73a4ceeb77 100644 (file)
@@ -928,8 +928,11 @@ let pretty_print_term_context status ctx1 ctx2 =
     (fun el (ctx1,rev_res) ->
       match el with
          None -> ""@::ctx1,rev_res
-       | Some (name,`OfKind _) -> name@::ctx1,rev_res
+       | Some (name,`OfKind _) ->
+          let name = capitalize `TypeVariable name in
+           name@::ctx1,rev_res
        | Some (name,`OfType typ) ->
+          let name = capitalize `TypeVariable name in
           let name,ctx1 = name@:::ctx1 in
            name::ctx1,
             ("(" ^ name ^ " :: " ^ pretty_print_type status ctx1 typ ^ ")")::rev_res