# HG changeset patch # User blanchet # Date 1369757860 -7200 # Node ID d5c80b12a1f2ddab2437fc8fa3e85be1b76b98e0 # Parent 9fcceb3c85aeee84f6934b77f234bc60edb73a49 no confusing special behavior in debug mode diff -r 9fcceb3c85ae -r d5c80b12a1f2 src/HOL/Tools/Nitpick/nitpick.ML --- a/src/HOL/Tools/Nitpick/nitpick.ML Tue May 28 18:12:21 2013 +0200 +++ b/src/HOL/Tools/Nitpick/nitpick.ML Tue May 28 18:17:40 2013 +0200 @@ -544,8 +544,7 @@ val min_univ_card = NameTable.fold (Integer.max o min_univ_card_of_rep o snd) rep_table (univ_card nat_card int_card main_j0 [] KK.True) - val _ = if debug then () - else check_arity guiltiest_party min_univ_card min_highest_arity + val _ = check_arity guiltiest_party min_univ_card min_highest_arity val def_us = def_us |> map (choose_reps_in_nut scope unsound rep_table true) @@ -612,7 +611,7 @@ fold Integer.max (map (fst o fst) (maps fst bounds)) 0 val formula = fold_rev s_and axioms formula val _ = if bits = 0 then () else check_bits bits formula - val _ = if debug orelse formula = KK.False then () + val _ = if formula = KK.False then () else check_arity "" univ_card highest_arity in SOME ({comment = comment, settings = settings, univ_card = univ_card,