Re: Phix:getd_all_keys on empty dictionary causes a crash

new topic     » goto parent     » topic index » view thread      » older message » newer message
include dict.e 
integer d = new_dict() 
? getd_all_keys(d) 
 
/* 

Version 0.8.1 (64 bit Linux) Copyright Pete Lomax 2006..2016 
 
------------------------------------------------------------- 
 
 
/usr/local/bin/builtins/dict.e:315 in function traverser() 
index 0 out of bounds, reading sequence length 0 
    res = {} 
    node = 0 
    partial = 0 
    pkey = 0 
    tid = 2 
    rev = 0 
    tt = {} 
    key = <novalue> 
    data = <novalue> 
    left = <novalue> 
    right = <novalue> 
    c = <novalue> 
 
Global & Local Variables 
 
*/ 

be well,
_tom

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu