Skip to content
Tcl Source Code Artifact [72b3680d07]
Login

Artifact [72b3680d07]

Artifact 72b3680d07c5de56f5393167de4e64a221dde05f:

Ticket change [72b3680d07] - New ticket [1893052fffffffff|1893052fff] <i>Object type info can be lost after comparison (e.g. INST_EQ)</i>. by nobody on 2008-02-13 20:02:31.
D 2008-02-13T20:02:31
J assignee msofer
J cmimetype text/plain
J comment set\sa\s...\nset\sb\s...\nif\s{$a\s==\s$b}\s{\n\s\s\s\s...\n}\n\nRegardless\sof\sthe\sactual\stypes\sof\sobjects\sa\sand\sb,\nnumerical\scomparison\sis\scoerced\sby\sTcl\sengine\sif\sat\nall\spossible,\swhich\sincludes\sthe\scase\swhen\sstring\nrepresentations\sof\sboth\sobjects\slook\slike\snumbers.\nBoth\sarguments\sare\sthen\sconverted\sto\snumeric\stypes\n(e.g.\svia\sTcl_GetWideIntFromObj),\sand\sthe\soriginal\nobject\stype\sinformation\sis\sirretrievably\slost.\sThis\nis\sa\sproblem\swhen\scustom\stype\sof\san\sobject\scannot\nbe\srestored\sfrom\sits\sstring\srepresentation.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 47.\sBytecode\sCompiler
J title Object\stype\sinfo\scan\sbe\slost\safter\scomparison\s(e.g.\sINST_EQ)
J type Bug
K 1893052fffffffffffffffffffffffffffffffff
U nobody
Z fe3a1dad64b1826176c14485fcb7b2ca