--- a/src/HOL/Tools/code_evaluation.ML Thu Apr 18 18:55:23 2013 +0200
+++ b/src/HOL/Tools/code_evaluation.ML Thu Apr 18 18:57:02 2013 +0200
@@ -142,7 +142,7 @@
if not (Term.has_abs t)
then if fold_aterms (fn Const _ => I | _ => K false) t true
then SOME (HOLogic.reflect_term t)
- else error "Cannot termify expression containing variables"
+ else error "Cannot termify expression containing variable"
else error "Cannot termify expression containing abstraction"
| subst_termify_app (t, ts) = case map_default subst_termify ts
of SOME ts' => SOME (list_comb (t, ts'))