--- a/src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML Fri Dec 16 22:07:03 2011 +0100
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML Sat Dec 17 12:10:37 2011 +0100
@@ -142,7 +142,7 @@
| restrict_pattern' thy ((T as TFree _, t) :: Tts) free_names =
replace_term_and_restrict thy T t Tts free_names
| restrict_pattern' thy ((T as Type (Tcon, Ts), t) :: Tts) free_names =
- case Datatype_Data.get_constrs thy Tcon of
+ case Datatype.get_constrs thy Tcon of
NONE => replace_term_and_restrict thy T t Tts free_names
| SOME constrs => (case strip_comb t of
(Const (s, _), ats) => (case AList.lookup (op =) constrs s of