.
D 2003-11-03T13:29:51
J assignee msofer
J cmimetype text/plain
J comment Tcl\sversion:\s8.4.3\nOS\splatform:\sRedhat\s9,\sSolaris\s2.8,\sSuSE\s8,\sHP-UX\s11\n\nProblem\sbehaviour:\s"lassign"\sdoes\snot\sstore\sthe\svalue\n\s\sof\sthe\smember\svariable\sx\sin\smethod\s"store"\s(see\n\s\ssample\scode).\n\s\sRunning\sthe\ssample\scode\swill\sprint\s"0"\son\s8.4.3\n\s\sand\s"2"\son\sprevious\sversions.\n\s\sIf\sthe\smember\svariable\sx\sis\sreferenced\s(e.g.\swith\n\s\s"set\sa\s$x"\sthen\s8.4.3\swill\sprint\sthe\scorrect\svalue.\n\nExpected\sBehavior:\sas\sfor\sprevious\stcl\s(tclx)\sversions\n\s\s\nConcise\sCode\sSample:\n\npackage\srequire\sTclx\npackage\srequire\sItcl\n\nitcl::class\sT\s{\n\s\s\s\sprotected\svariable\sx\s0\n\n\s\s\s\sconstructor\s{args}\s{\nstore\nprint\n\s\s\s\s}\n\s\s\s\sprotected\smethod\sstore\s{}\s{\nlassign\s2\sx\n\s\s\s\s\s\s\s\s\s\s\s\s\s#\sset\sa\s$x\n\s\s\s\s}\n\s\s\s\sprotected\smethod\sprint\s{}\s{\nputs\s$x\n\s\s\s\s}\n}\n\nT\st\n
J foundin obsolete:\s8.4.3
J priority 5\sMedium
J resolution None
J status Open
J submitter pbiereic
J subsystem 07.\sVariables
J title lassign\sto\smember\svariables\sin\sitcl\smethods
J type Bug
K 835020ffffffffffffffffffffffffffffffffff
U pbiereic
Z 02bc1e81a14759c28096e22b1a56153d