Skip to content
Tcl Source Code Artifact [0cd838e54d]
Login

Artifact [0cd838e54d]

Artifact 0cd838e54de193b9334168cb4dd87a32e0e3a612:

Ticket change [0cd838e54d] - New ticket [545644ffffffffff|545644ffff] <i>info body fails if proc body was a list</i>. by nobody on 2002-04-18 13:33:13.
D 2002-04-18T13:33:13
J assignee dkf
J cmimetype text/plain
J comment OS\sPlatform:\sWindows\s2000\n\nProblem\sBehavior:\n[info\sbody]\sreturns\san\sempty\sstring\sinstead\sof\sthe\s\nbody\sof\sa\sprocedure\sthat\swas\sdefined\sas\sa\slist,\sand\s\nnot\syet\scompiled.\sThe\sproc\sstill\sworks,\sbut\s\nintrospection\sis\simpossible.\n\nWorkaround:\sturn\sthe\sbody\sinto\sa\sstring,\sby\sappending\s\ne.g.\sa\sspace\s(see\sexample\sbelow)\n\nExpected\sbehavior:\nReturn\sthe\sstring\srepresentation\sof\sthe\sbody\sin\sall\s\ncases\n\nConcise\scode\ssample:\s(interactive\sshell)\nX:\\home\\suchenwi>tclsh\n%\sproc\stest2\s0\s[list\sexpr\s{$0\s==\s"x"}]\n%\sinfo\sbody\stest2\n%\stest2\sx\n1\n%\sproc\stest3\s0\s"[list\sexpr\s{$0\s==\s"x"}]\s"\n%\sinfo\sbody\stest3\nexpr\s{$0\s==\s"x"}
J foundin obsolete:\s8.3.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 17.\sCommands\sI-L
J title info\sbody\sfails\sif\sproc\sbody\swas\sa\slist
J type Bug
K 545644ffffffffffffffffffffffffffffffffff
U nobody
Z 05c8b27c0f0968fc17cfbc521c90fd0c