From 446bec03de2d1e48ee612cd8020777aeeb7fbf06 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 29 Aug 2012 13:00:29 +0000 Subject: [PATCH] Capitalization of variables bound in patterns fixed. --- matita/components/ng_kernel/nCicExtraction.ml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/matita/components/ng_kernel/nCicExtraction.ml b/matita/components/ng_kernel/nCicExtraction.ml index aa9e7bd8f..5690d1c9f 100644 --- a/matita/components/ng_kernel/nCicExtraction.ml +++ b/matita/components/ng_kernel/nCicExtraction.ml @@ -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 -- 2.39.2