.
D 2008-12-15T21:57:07
J assignee dkf
J cmimetype text/plain
J comment The\sscript:\n\nproc\soops\s{}\s{\n\s\s\s\sdict\sset\sarray(index)\spoisonous\sgarbage!\n\s\s\s\scatch\s{\ndict\sget\s$array(index)\snonexistent\n\s\s\s\s}\n\s\s\s\sputs\s$::errorInfo\n}\noops\n\nprints\sthe\sfollowing:\n\npoisonous\sgarbage!key\s"nonexistent"\snot\sknown\sin\sdictionary\n\s\s\s\swhile\sexecuting\n"dict\sget\s$array(index)\snonexistent"\n\nThe\sdictionary\svalue\sis\ssomehow\sprepended\sto\s$errorInfo\swhen\s[dict\sget]\sfails\sto\sfind\sthe\skey\sit's\slooking\sfor.\n\nThis\sproblem\sdoes\snot\soccur\swhen\srunning\sat\stop\slevel\s(i.e.\snot\sinside\sa\sproc).\s\sIt\salso\sdoes\snot\soccur\swhen\snot\susing\san\sarray\s(e.g.\sremove\s"(index)"\sfrom\sthe\sscript).\s\sIf\s[dict\sget]\sfails\sfor\sanother\sreason,\ssuch\sas\s"missing\svalue\sto\sgo\swith\skey",\sthe\sdictionary\svalue\sis\snot\sprepended\s(replace\s"nonexistent"\swith\s"poisonous\sgarbage!"\sto\stest).
J foundin obsolete:\s8.6a3
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter andygoth
J subsystem 16.\sCommands\sA-H
J title Junk\sat\sstart\sof\serrorInfo\swhen\susing\s[dict\sget]\son\sarrays
J type Bug
K 2431847fffffffffffffffffffffffffffffffff
U andygoth
Z 2395ab9bc87cf4fa679953c6ef22833d