src/Pure/Isar/proof_context.ML
changeset 56294 85911b8a6868
parent 56202 0a11d17eeeff
child 56333 38f1422ef473
equal deleted inserted replaced
56293:9bc33476f6ac 56294:85911b8a6868
   716   in (sorting_report, (map o map_types) (replace_sortsT get_sort) tms) end;
   716   in (sorting_report, (map o map_types) (replace_sortsT get_sort) tms) end;
   717 
   717 
   718 fun check_tfree ctxt v =
   718 fun check_tfree ctxt v =
   719   let
   719   let
   720     val (sorting_report, [TFree a]) = prepare_sortsT ctxt [TFree v];
   720     val (sorting_report, [TFree a]) = prepare_sortsT ctxt [TFree v];
   721     val _ = Context_Position.if_visible ctxt Output.report sorting_report;
   721     val _ = if Context_Position.is_visible ctxt then Output.report sorting_report else ();
   722   in a end;
   722   in a end;
   723 
   723 
   724 end;
   724 end;
   725 
   725 
   726 
   726