src/Pure/Isar/theory_target.ML
changeset 28696 f1701105d651
parent 28311 b86feb50ca58
child 28707 548703affff5
     1.1 --- a/src/Pure/Isar/theory_target.ML	Mon Oct 27 16:15:50 2008 +0100
     1.2 +++ b/src/Pure/Isar/theory_target.ML	Mon Oct 27 16:20:52 2008 +0100
     1.3 @@ -186,7 +186,7 @@
     1.4  
     1.5  fun locale_const (Target {target, is_class, ...}) (prmode as (mode, _)) tags ((c, mx), rhs) phi =
     1.6    let
     1.7 -    val c' = Morphism.name phi c;
     1.8 +    val c' = Morphism.name phi c |> Name.map_name NameSpace.base;  (* FIXME !!! *)
     1.9      val rhs' = Morphism.term phi rhs;
    1.10      val name = Name.name_of c;
    1.11      val name' = Name.name_of c';