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