Wanted: signal at least a STYLE-WARNING for #1()
What I do:
#(NIL) is returned.
What I expected to happen:
At least a STYLE-WARNING, if not a WARNING or ERROR.
CLHS 184.108.40.206 Sharpsign Left-Parenthesis (http://
"The consequences are undefined if the unsigned decimal integer is non-zero and number of objects supplied before the closing ) is zero."
SBCL is not necessarily wrong in returning the above result, however code that relies on this behavior is not portable and thus I think at least a STYLE-WARNING should be signaled as a portability aid.
Linux dynamorph 3.2.0-56-
(:SWANK :QUICKLISP :SB-BSD-
:COMMON-LISP :SBCL :SB-DOC :SB-TEST :SB-LDB :SB-PACKAGE-LOCKS :SB-UNICODE
:LINUX :ELF :UNIX :X86)