.
D 2012-01-16T14:41:27
J assignee dkf
J cmimetype text/plain
J comment Hi,\n\nWith\sActiveState\sTcl\s8.6.0.0.295132\sBeta\s6,\swhen\sissuing:\n\noo::copy\sClass1\n\nIt\sgives\sthe\serror:\n\n"must\ssupply\sa\sname\swhen\scopying\sa\sclass"\n\nHowever,\sthe\sdocumentation\stells\sthat\sthe\ssecond\sparameter\sis\soptional.\sI\swould\sindeed\sexpect\sTcl\sto\sgenerate\sa\snew\sname\ssuch\sas\s::oo::Obj34.\n\nNote:\sthis\sis\suseful\sto\sinclude\sthe\ssame\sclass\sas\sa\smixin\sin\seach\sclass\sof\sa\shierarchy.\sIt\sseems\sTcl\sonly\smixins\sa\sclass\sonce\sper\shierarchy\sand\snot\sonce\sper\sclass\shaving\s"mixin\sMyMixClass"\sin\sthat\shierarchy.\sSo\sputting\s"mixin\s[oo::copy\sMyMixClass]"\sin\seach\sclass\sof\sthe\shierarchy\sshould\ssolve\sthe\sproblem.\sThis\sallow\sto\sadd\sextra\scode\sto\sa\smethod\sbetween\seach\sstage\sof\sthe\shierarchy.\n\nThanks,\nEtienne
J foundin obsolete:\s8.6b2
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter basilik99
J subsystem 35.\sTclOO\sPackage
J title targetObject\sshould\sbe\soptional\sfor\soo::copy
J type Bug
K 3474460fffffffffffffffffffffffffffffffff
U basilik99
Z b3accccbdf5e8dfb4f26e4ee776405da