src/HOL/BNF/Tools/bnf_fp_rec_sugar.ML
changeset 54174 c6291ae7cd18
parent 54173 8a2a5fa8c591
child 54175 83145b857bb9
--- a/src/HOL/BNF/Tools/bnf_fp_rec_sugar.ML	Sun Oct 20 22:51:21 2013 +0200
+++ b/src/HOL/BNF/Tools/bnf_fp_rec_sugar.ML	Sun Oct 20 23:29:49 2013 +0200
@@ -1068,7 +1068,7 @@
                   |> K |> Goal.prove lthy [] [] raw_t;
 val _ = tracing ("raw code theorem: " ^ Syntax.string_of_term lthy (prop_of raw_code_thm));
               in
-                mk_primcorec_code_of_raw_code_tac lthy sel_splits raw_code_thm
+                mk_primcorec_code_of_raw_code_tac lthy distincts sel_splits raw_code_thm
                 |> K |> Goal.prove lthy [] [] t
 |> tap (tracing o curry (op ^) "code theorem: " o Syntax.string_of_term lthy o prop_of)
                 |> single