src/Tools/code/code_name.ML
changeset 28346 b8390cd56b8f
parent 28054 2b84d34c5d02
child 28663 bd8438543bf2
--- a/src/Tools/code/code_name.ML	Wed Sep 24 19:39:25 2008 +0200
+++ b/src/Tools/code/code_name.ML	Thu Sep 25 09:28:03 2008 +0200
@@ -45,9 +45,8 @@
         val thy' = case some_thyname
          of SOME thyname => ThyInfo.the_theory thyname thy
           | NONE => thy;
-        val raw_cs = Symtab.fold (fn (c, (_, NONE)) => cons c | _ => I)
+        val cs = Symtab.fold (fn (c, (_, NONE)) => cons c | _ => I)
           ((snd o #constants o Consts.dest o #consts o Sign.rep_sg) thy') [];
-        val cs = map (Code_Unit.subst_alias thy') raw_cs;
         fun belongs_here c =
           not (exists (fn thy'' => Sign.declared_const thy'' c) (Theory.parents_of thy'))
       in case some_thyname