source: trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp @ 11835

Last change on this file since 11835 was 11835, checked in by vvoutilainen, 13 years ago

Combine check-arg-count and check-min-args with a format
recipe and an optional argument. Note, ansi tests do not
exercise the failure case for check-min-args, but the
format recipe is easy enough to test with the following

(format t
"Wrong number of arguments for ~A (expected~:[~; at least~] ~D, but received ~D)."
1 nil 2 3)

By changing the second argument after the format string
from nil to t, both cases can be seen to work with this format

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 354.2 KB

HTML preview not available, since the file size exceeds 256.0 KB. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.