You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CL-USER> (swank:inspect-in-emacs (make-array5:element-typenil))
An attempt to access an array of element-type NIL was made. Congratulations!
[Condition of typeSB-KERNEL:NIL-ARRAY-ACCESSED-ERROR]
See also:
Common Lisp Hyperspec, UPGRADED-ARRAY-ELEMENT-TYPE[:function]
Common Lisp Hyperspec, 15.1.2.1 [:section]
Common Lisp Hyperspec, 15.1.2.2 [:section]
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [*ABORT] Return to SLIME's top level.
2: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {101B6E8003}>)
Backtrace:
0: ((SB-VM::OPTIMIZED-DATA-VECTOR-REF NIL) #<unavailable argument> #<unavailable argument>)
[No Locals]
1: ((LABELSSWANK::K :INSWANK/BACKEND:EMACS-INSPECT) 05)
Locals:
ARRAY= #<(SIMPLE-ARRAYNIL (5)) {1017B59E8F}>
SWANK::I =0MAX=52: ((LAMBDANIL:INSWANK/BACKEND:EMACS-INSPECT))
Locals:
ARRAY= #<(SIMPLE-ARRAYNIL (5)) {1017B59E8F}>
Kind of a silly issue because arrays of type nil are rare in practice, but I think that Swank should be able to detect the null element type and not try to list the contents in the inspector in that case.
The text was updated successfully, but these errors were encountered:
Clarification: the error message is from the underlying implementation, SBCL, and I am of opinion that this message is too perfect for any bugticket to ever be written about it.
Kind of a silly issue because arrays of type
nil
are rare in practice, but I think that Swank should be able to detect the null element type and not try to list the contents in the inspector in that case.The text was updated successfully, but these errors were encountered: