author | wenzelm |
Mon, 18 Apr 2016 14:26:21 +0200 | |
changeset 63009 | 3c2df99b7b1d |
parent 63008 | b577a13a15f3 |
child 63010 | 8e0378864478 |
--- a/src/HOL/Tools/BNF/bnf_def.ML Mon Apr 18 11:02:07 2016 +0200 +++ b/src/HOL/Tools/BNF/bnf_def.ML Mon Apr 18 14:26:21 2016 +0200 @@ -1187,7 +1187,7 @@ " as unnamed BNF"); val (bnf_b, key) = - if Binding.eq_name (bnf_b, Binding.empty) then + if Binding.is_empty bnf_b then (case T_rhs of Type (C, Ts) => if forall (can dest_TFree) Ts then (Binding.qualified_name C, C) else err T_rhs