src/Pure/Isar/isar_thy.ML
changeset 12589 afc6ffffeb11
parent 12318 72348ff7d4a0
child 12601 f0cf30cd7e4c
equal deleted inserted replaced
12588:0361fd72f1a7 12589:afc6ffffeb11
   248       let
   248       let
   249         val sg = Theory.sign_of thy;
   249         val sg = Theory.sign_of thy;
   250         val names = map (intern sg kind) xnames;
   250         val names = map (intern sg kind) xnames;
   251         val bads = filter_out (check sg) names;
   251         val bads = filter_out (check sg) names;
   252       in
   252       in
   253         if null bads then Theory.hide_space_i (kind, names) thy
   253         if null bads then Theory.hide_space_i true (kind, names) thy
   254         else error ("Attempt to hide undeclared item(s): " ^ commas_quote bads)
   254         else error ("Attempt to hide undeclared item(s): " ^ commas_quote bads)
   255       end
   255       end
   256   | None => error ("Bad name space specification: " ^ quote kind));
   256   | None => error ("Bad name space specification: " ^ quote kind));
   257 
   257 
   258 in
   258 in