Changeset 10137


Ignore:
Timestamp:
Jul 19, 2008, 5:08:21 AM (11 years ago)
Author:
rme
Message:

FORMAT cuteness with plurals when reporting bad number of args errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/l1-error-system.lisp

    r8988 r10137  
    217217                    "few")))
    218218        (if too-many
    219           (format s "Too many arguments in call to ~s:~&~d arguments provided, at most ~d accepted. " fn scaled-nargs max)
    220           (format s "Too few arguments in call to ~s:~&~d arguments provided, at least ~d required. " fn  scaled-nargs min))))))
     219          (format s "Too many arguments in call to ~s:~&~d argument~:p provided, at most ~d accepted. " fn scaled-nargs max)
     220          (format s "Too few arguments in call to ~s:~&~d argument~:p provided, at least ~d required. " fn  scaled-nargs min))))))
    221221
    222222
Note: See TracChangeset for help on using the changeset viewer.