Skip to content
Tcl Source Code Artifact [b59dba9d46]
Login

Artifact [b59dba9d46]

Artifact b59dba9d46b912c6d151db54e687844870e4b046dc8773297c98bc5938591d1b:

Ticket change [b59dba9d46] - New ticket [4bbb308ab26fe4ae|4bbb308ab2] <i>trace causes generates of string reprepresentatin of &quot;commandPrefix&quot; argument</i>. by pooryorick on 2018-04-28 13:42:26.
D 2018-04-28T13:42:26.290
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment When\sa\spure\slist\sis\spassed\sas\sthe\s<code>commandPrefix</code>\sargument,\sthe\r\nstring\srepresentation\sof\sthat\slist\sis\sgenerated:\r\n\r\n\t<code><verbatim>\r\n\tproc\sp1\s{list\sargs}\s{\r\n\t\tputs\s[list\sin\s.\sp1\s[::tcl::unsupported::representation\s$list]]\r\n\t}\r\n\r\n\tset\slist\s[list\sone\stwo\sthree]\r\n\tputs\s[list\sinitial\s[::tcl::unsupported::representation\s$list]]\r\n\tset\svar1\s{}\r\n\ttrace\sadd\svariable\svar1\sread\s[list\sp1\s$list]\r\n\tset\slist\s[list\sp1\sone\stwo\sthree]\r\n\tset\svar1\r\n\t</verbatim></code>\r\n\r\nOutput:\r\n\r\n\t<verbatim>\r\n\tinitial\s{value\sis\sa\slist\swith\sa\srefcount\sof\s3,\sobject\spointer\sat\s0x55f4052f7ad8,\sinternal\srepresentation\s0x55f4052db288:(nil),\sno\sstring\srepresentation}\r\n\tin\s.\sp1\s{value\sis\sa\spure\sstring\swith\sa\srefcount\sof\s3,\sobject\spointer\sat\s0x55f4051a8aa8,\sstring\srepresentation\s"one\stwo\sthree"}\r\n\t</verbatim>
J is_private 0
J login pooryorick
J priority 5\sMedium
J private_contact cb5bb6e27c11439b3d652a7ea7b921f6ea291750
J resolution None
J severity Minor
J status Open
J submitter pooryorick
J subsystem -\sNew\sBuiltin\sCommands
J title trace\scauses\sgenerates\sof\sstring\sreprepresentatin\sof\s"commandPrefix"\sargument
J type Bug
K 4bbb308ab26fe4aea344f1c0f744ccbef3f0543f
U pooryorick
Z 264c9c555ecd7f2b1ca629d6a427b694