src/Pure/Isar/class.ML
changeset 36904 3e200347a22e
parent 36746 6e7704471eaa
child 36919 182774d56bd2
     1.1 --- a/src/Pure/Isar/class.ML	Wed May 12 22:33:10 2010 -0700
     1.2 +++ b/src/Pure/Isar/class.ML	Thu May 13 13:29:43 2010 +0200
     1.3 @@ -293,8 +293,7 @@
     1.4      |-> (fn (param_map, params, assm_axiom) =>
     1.5         `(fn thy => calculate thy class sups base_sort param_map assm_axiom)
     1.6      #-> (fn (base_morph, eq_morph, export_morph, axiom, assm_intro, of_class) =>
     1.7 -       Locale.add_registration (class, case eq_morph of SOME eq_morph => base_morph $> eq_morph | NONE => base_morph)
     1.8 -         (*FIXME should avoid modification of base morphism, but then problem with sublocale linorder < distrib_lattice*)
     1.9 +       Locale.add_registration (class, base_morph)
    1.10           (Option.map (rpair true) eq_morph) export_morph
    1.11      #> register class sups params base_sort base_morph export_morph axiom assm_intro of_class))
    1.12      |> Theory_Target.init (SOME class)