src/HOL/Tools/Nitpick/nitpick_rep.ML
changeset 35385 29f81babefd7
parent 35280 54ab4921f826
child 35665 ff2bf50505ab
--- a/src/HOL/Tools/Nitpick/nitpick_rep.ML	Thu Feb 25 10:08:44 2010 +0100
+++ b/src/HOL/Tools/Nitpick/nitpick_rep.ML	Thu Feb 25 16:33:39 2010 +0100
@@ -299,7 +299,7 @@
      | z => Func z)
   | best_non_opt_set_rep_for_type scope T = best_one_rep_for_type scope T
 fun best_set_rep_for_type (scope as {datatypes, ...}) T =
-  (if is_exact_type datatypes T then best_non_opt_set_rep_for_type
+  (if is_exact_type datatypes true T then best_non_opt_set_rep_for_type
    else best_opt_set_rep_for_type) scope T
 fun best_non_opt_symmetric_reps_for_fun_type (scope as {ofs, ...})
                                              (Type ("fun", [T1, T2])) =