diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-28 16:41:17 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-28 16:41:17 -0700 |
commit | 8657699b701aa19e097016146d69492b7e191833 (patch) | |
tree | 3036618cbdccff463037ba93b53e58426b789953 /eval.c | |
parent | 410fb0ec4fb2a2780f581322b6b99f5a7d77d990 (diff) | |
download | txr-8657699b701aa19e097016146d69492b7e191833.tar.gz txr-8657699b701aa19e097016146d69492b7e191833.tar.bz2 txr-8657699b701aa19e097016146d69492b7e191833.zip |
expander: fun: misleading diagnostic.
* eval.c (do_expand): argument of fun is not in "operator
position"; fixed wording.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4811,7 +4811,7 @@ again: lit("fun used on special operator ~s"), arg, nao); else if (!bindable(arg)) eval_warn(uw_last_form_expanded(), - lit("~s appears in operator position"), arg, nao); + lit("fun expects function, not ~s"), arg, nao); else eval_defr_warn(uw_last_form_expanded(), cons(fun_s, arg), |