made smlnj happy;
authorwenzelm
Sun, 23 Sep 2007 23:00:01 +0200
changeset 24686 8113d0149304
parent 24685 c3d56f41483b
child 24687 f24306b9e073
made smlnj happy;
src/Pure/Isar/proof_context.ML
--- a/src/Pure/Isar/proof_context.ML	Sun Sep 23 22:23:37 2007 +0200
+++ b/src/Pure/Isar/proof_context.ML	Sun Sep 23 23:00:01 2007 +0200
@@ -766,8 +766,8 @@
         val binds = simult_matches ctxt2 (t, pats);
       in (binds, ctxt2) end;
 
-    val ts = prep_terms ctxt dummyT (map #2 raw_binds);
-    val (binds, ctxt') = apfst flat (fold_map prep_bind (map #1 raw_binds ~~ ts) ctxt);
+    val ts = prep_terms ctxt dummyT (map snd raw_binds);
+    val (binds, ctxt') = apfst flat (fold_map prep_bind (map fst raw_binds ~~ ts) ctxt);
     val binds' =
       if gen then map #1 binds ~~ Variable.exportT_terms ctxt' ctxt (map #2 binds)
       else binds;