changeset 79383 | 8c9cce335a3d |
parent 79382 | 703201dbd413 |
child 79384 | 0a94277a1d35 |
--- a/src/Pure/logic.ML Fri Dec 29 19:22:15 2023 +0100 +++ b/src/Pure/logic.ML Fri Dec 29 20:01:04 2023 +0100 @@ -366,7 +366,7 @@ fun unconstrainT shyps prop = let val present = Types.build (prop |> (fold_types o fold_atyps) Types.add_set); - val present_sorts = map (fn T => (T, Term.dest_atyp_sort T)) (Types.list_set present); + val present_sorts = map (fn T => (T, Type.sort_of_atyp T)) (Types.list_set present); val extra = fold (Sorts.remove_sort o #2) present_sorts shyps;