proper error message
authorhaftmann
Wed, 27 Aug 2008 11:24:35 +0200
changeset 28016b46f48256dab
parent 28015 11635f41abc1
child 28017 4919bd124a58
proper error message
src/Tools/code/code_name.ML
     1.1 --- a/src/Tools/code/code_name.ML	Wed Aug 27 11:24:34 2008 +0200
     1.2 +++ b/src/Tools/code/code_name.ML	Wed Aug 27 11:24:35 2008 +0200
     1.3 @@ -174,7 +174,7 @@
     1.4    fun thyname_of_tyco thy =
     1.5      thyname_of thy (Type.the_tags (Sign.tsig_of thy));
     1.6    fun thyname_of_instance thy a = case AxClass.arity_property thy a Markup.theory_nameN
     1.7 -   of [] => error "no such instance: " ^ (quote o string_of_instance) a
     1.8 +   of [] => error ("no such instance: " ^ (quote o string_of_instance) a)
     1.9      | thyname :: _ => thyname;
    1.10    fun thyname_of_const thy =
    1.11      thyname_of thy (Consts.the_tags (Sign.consts_of thy));