src/Pure/Isar/code.ML
changeset 60949 ccbf9379e355
parent 60948 b710a5087116
child 61268 abe08fb15a12
--- a/src/Pure/Isar/code.ML	Sun Aug 16 18:19:30 2015 +0200
+++ b/src/Pure/Isar/code.ML	Sun Aug 16 19:25:08 2015 +0200
@@ -686,7 +686,7 @@
 
 fun get_head thy cert_thm =
   let
-    val [head] = (#hyps o Thm.crep_thm) cert_thm;
+    val [head] = Thm.chyps_of cert_thm;
     val (_, Const (c, ty)) = (Logic.dest_equals o Thm.term_of) head;
   in (typscheme thy (c, ty), head) end;