Fix inspector error with empty hashtable
parent
5a3f39d488
commit
ebcac67995
|
@ -12,3 +12,4 @@ V{ } clone inspector-stack set
|
|||
[ 1 2 3 ] (inspect)
|
||||
f (inspect)
|
||||
\ + (inspect)
|
||||
H{ } (inspect)
|
||||
|
|
|
@ -18,7 +18,7 @@ SYMBOL: inspector-stack
|
|||
: (inspect) ( obj -- )
|
||||
dup inspector-stack get push
|
||||
dup summary print
|
||||
sheet sheet-numbers sheet. ;
|
||||
sheet dup empty? [ drop ] [ sheet-numbers sheet. ] if ;
|
||||
|
||||
: inspector-help ( -- )
|
||||
"Object inspector." print
|
||||
|
|
Loading…
Reference in New Issue