author | blanchet |
Tue, 09 Sep 2014 20:51:36 +0200 | |
changeset 58271 | 2e91e9bbc212 |
parent 58270 | 16648edf16e3 |
child 58272 | 61d94335ef6c |
--- a/src/HOL/Tools/BNF/bnf_lfp_compat.ML Tue Sep 09 20:51:36 2014 +0200 +++ b/src/HOL/Tools/BNF/bnf_lfp_compat.ML Tue Sep 09 20:51:36 2014 +0200 @@ -288,7 +288,7 @@ else ((fp_sugars, (NONE, NONE)), lthy); - fun mk_ctr_of {ctr_sugar = {ctrs, ...}, ...} (Type (_, Ts)) = map (mk_ctr Ts) ctrs; + fun mk_ctr_of ({ctr_sugar = {ctrs, ...}, ...} : fp_sugar) (Type (_, Ts)) = map (mk_ctr Ts) ctrs; val substAT = Term.typ_subst_atomic (var_As ~~ As); val Xs' = map #X fp_sugars';