src/Pure/Isar/local_defs.ML
changeset 29006 abe0f11cfa4e
parent 28965 1de908189869
child 29440 0f7031a3e692
     1.1 --- a/src/Pure/Isar/local_defs.ML	Fri Dec 05 18:42:39 2008 +0100
     1.2 +++ b/src/Pure/Isar/local_defs.ML	Fri Dec 05 18:43:42 2008 +0100
     1.3 @@ -91,7 +91,7 @@
     1.4    let
     1.5      val ((bvars, mxs), specs) = defs |> split_list |>> split_list;
     1.6      val ((bfacts, atts), rhss) = specs |> split_list |>> split_list;
     1.7 -    val xs = map Name.name_of bvars;
     1.8 +    val xs = map Binding.base_name bvars;
     1.9      val names = map2 (Binding.map_base o Thm.def_name_optional) xs bfacts;
    1.10      val eqs = mk_def ctxt (xs ~~ rhss);
    1.11      val lhss = map (fst o Logic.dest_equals) eqs;