.
D 2008-06-30T10:58:27
J assignee dkf
J cmimetype text/plain
J comment In\sthe\scurrent\simplementation\sof\sTclOO\sa\sclass\swith\s2\ssuperclasses\shas\san\sunexpected\shandling\sof\sthe\snext\scommand.\sif\sin\sthe\sconstructor\sthere\sare\s2\scalls\sto\snext\sthen\salways\sthe\sconstructor\sof\sthe\sfirst\ssuperclass\sis\scalled.\n\nI\sthink\sa\s"natural"\sway\swould\sbe\sto\salways\scall\sany\sentry\sin\sa\scall\schain\sonly\sonce.\n\nproposed\schange:\nadd\sa\shasBeenCalled\sflag\sto\sthe\sCallChain\sstruct\sand\smodify\sTclOOInvokeContext,\sto\sset\sthe\shasBeenCalled\sflag\safter\sa\scall\sto\sa\smethod\sin\sthe\scall\schain.\sWhen\sdoing\sthe\snext\scall\sto\sa\smethod\sin\sthe\scall\schain,\scheck\sfor\sentries,\swhich\shave\shasBeenCalled\sset\sand\sskip\sthem\suntil\sthe\sfirst\sentry,\swhich\shas\snot\sset\shasBeenCalled.\sAt\sthe\send\s(if\s(isFirst)\s{\s...\s})\sreset\shasBeenCalled\sfor\sall\sentries\sin\sthe\scall\schain.\n\nThat\swould\salso\shelp\sitcl\sto\sbe\sable\sto\suse\sthe\s"normal"\sconstructor\scall\schain.\sAt\sthe\smoment\sitcl\sis\susing\sconstructor\smethods\sand\shas\sadditional\scode\sto\sbuild\sthe\scorrect\s(for\sitcl)\sconstructor\scall\schain.\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter wiede
J subsystem 35.\sTclOO\sPackage
J title modified\snext\scommand\shandling
J type RFE
K 2006641fffffffffffffffffffffffffffffffff
U wiede
Z c725b0147d92ff1229b646b4911412d4