src/Tools/nbe.ML
changeset 32966 5b21661fe618
parent 32740 9dd0a2f83429
child 33002 f3f02f36a3e2
--- a/src/Tools/nbe.ML	Sat Oct 17 15:55:57 2009 +0200
+++ b/src/Tools/nbe.ML	Sat Oct 17 15:57:51 2009 +0200
@@ -544,8 +544,8 @@
       (TypeInfer.constrain ty' t);
     fun check_tvars t = if null (Term.add_tvars t []) then t else
       error ("Illegal schematic type variables in normalized term: "
-        ^ setmp show_types true (Syntax.string_of_term_global thy) t);
-    val string_of_term = setmp show_types true (Syntax.string_of_term_global thy);
+        ^ setmp_CRITICAL show_types true (Syntax.string_of_term_global thy) t);
+    val string_of_term = setmp_CRITICAL show_types true (Syntax.string_of_term_global thy);
   in
     compile_eval thy naming program (vs, t) deps
     |> traced (fn t => "Normalized:\n" ^ string_of_term t)