src/Pure/Isar/class.ML
changeset 37101 7099a9ed3be2
parent 36919 182774d56bd2
child 38107 3a46cebd7983
--- a/src/Pure/Isar/class.ML	Sun May 23 19:30:29 2010 -0700
+++ b/src/Pure/Isar/class.ML	Mon May 24 10:48:32 2010 +0200
@@ -293,8 +293,7 @@
     |-> (fn (param_map, params, assm_axiom) =>
        `(fn thy => calculate thy class sups base_sort param_map assm_axiom)
     #-> (fn (base_morph, eq_morph, export_morph, axiom, assm_intro, of_class) =>
-       Locale.add_registration (class, case eq_morph of SOME eq_morph => base_morph $> eq_morph | NONE => base_morph)
-         (*FIXME should avoid modification of base morphism, but then problem with sublocale linorder < distrib_lattice*)
+       Locale.add_registration (class, base_morph)
          (Option.map (rpair true) eq_morph) export_morph
     #> register class sups params base_sort base_morph export_morph axiom assm_intro of_class))
     |> Theory_Target.init (SOME class)