src/HOL/Tools/record.ML
changeset 33049 c38f02fdf35d
parent 33039 5018f6a76b3f
child 33055 5a733f325939
     1.1 --- a/src/HOL/Tools/record.ML	Wed Oct 21 10:15:31 2009 +0200
     1.2 +++ b/src/HOL/Tools/record.ML	Wed Oct 21 12:09:37 2009 +0200
     1.3 @@ -1834,7 +1834,7 @@
     1.4      val extN = full bname;
     1.5      val types = map snd fields;
     1.6      val alphas_fields = fold Term.add_tfree_namesT types [];
     1.7 -    val alphas_ext = inter (op =) (alphas, alphas_fields);
     1.8 +    val alphas_ext = inter (op =) alphas_fields alphas;
     1.9      val len = length fields;
    1.10      val variants =
    1.11        Name.variant_list (moreN :: rN :: (rN ^ "'") :: wN :: parent_variants)