MAKE-CONDITION accepts invalid initargs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
See attached file. The function ERROR does not complain about the use of an invalid initialization argument to the condition. Instead it will ignore the value of the invalid keyword and silently use the INITFORM value. CCL does complain about this and generates a invalid initialization argument error.
version 1.3.8
Linux andypc 4.4.0-22-generic #40~14.04.1-Ubuntu SMP Fri May 13 17:27:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
(:SWANK :QUICKLISP :SB-BSD-
:ASDF3 :ASDF2 :ASDF :OS-UNIX :NON-BASE-
:64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS
:C-STACK-
:COMPLEX-
:FP-AND-
:INTEGER-EQL-VOP :LARGEFILE :LINKAGE-TABLE :LINUX :LITTLE-ENDIAN
:MEMORY-
:OS-PROVIDES-
:OS-PROVIDES-POLL :OS-PROVIDES-PUTWC :OS-PROVIDES-
:PACKAGE-
:SB-AFTER-XC-CORE :SB-CORE-
:SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SOURCE-
:SB-UNICODE :SB-XREF-
:STACK-
:STACK-
:UNIX :UNWIND-
summary: |
- the function ERROR does not complain when using an invalid initarg of - the condition + MAKE-CONDITION accepts invalid initargs |