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 | a65e51608cdab3a977469c8eae5d0c4d0632a425 (patch) | |
tree | 3036618cbdccff463037ba93b53e58426b789953 | |
parent | 884054c288cb5c1cf8b9aec89a98cb7476e8a98a (diff) | |
download | txr-a65e51608cdab3a977469c8eae5d0c4d0632a425.tar.gz txr-a65e51608cdab3a977469c8eae5d0c4d0632a425.tar.bz2 txr-a65e51608cdab3a977469c8eae5d0c4d0632a425.zip |
expander: fun: misleading diagnostic.
* eval.c (do_expand): argument of fun is not in "operator
position"; fixed wording.
-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), |