src/HOL/Tools/record.ML
changeset 33063 4d462963a7db
parent 33055 5a733f325939
child 33095 bbd52d2f8696
--- a/src/HOL/Tools/record.ML	Thu Oct 22 10:52:07 2009 +0200
+++ b/src/HOL/Tools/record.ML	Thu Oct 22 13:48:06 2009 +0200
@@ -1894,8 +1894,8 @@
             more;
       in
         if more = HOLogic.unit
-        then build (map recT (0 upto parent_len))
-        else build (map rec_schemeT (0 upto parent_len))
+        then build (map_range recT (parent_len + 1))
+        else build (map_range rec_schemeT (parent_len + 1))
       end;
 
     val r_rec0 = mk_rec all_vars_more 0;