src/Pure/Isar/object_logic.ML
changeset 18939 18e2a2676d80
parent 18842 eb68d3723e84
child 19261 9f8e56d1dbf6
--- a/src/Pure/Isar/object_logic.ML	Mon Feb 06 20:59:05 2006 +0100
+++ b/src/Pure/Isar/object_logic.ML	Mon Feb 06 20:59:06 2006 +0100
@@ -105,7 +105,7 @@
     val c = judgment_name thy;
     val aT = TFree ("'a", []);
     val T =
-      if_none (Sign.const_type thy c) (aT --> propT)
+      the_default (aT --> propT) (Sign.const_type thy c)
       |> Term.map_type_tvar (fn ((x, _), S) => TFree (x, S));
     val U = Term.domain_type T handle Match => aT;
   in Const (c, T) $ Free (x, U) end;