Skip to content
Tcl Source Code Artifact [ca65eefcd6]
Login

Artifact [ca65eefcd6]

Artifact ca65eefcd63b3d845426c8c4dc26ce692f19112e:

Ticket change [ca65eefcd6] - Closed ticket [3483088fffffffff|3483088fff]: <i>[tailcall next] doesn&#39;t work ... should it?</i> plus 8 other changes by dkf on 2012-02-10 21:15:25.
D 2012-02-10T21:15:25
J closedate 2012-02-10T14:15:25
J closer dkf
J foundin obsolete:\s8.6b2
J icomment \n\nallow_comments\s-\s1\n\n[tailcall\sfoo]\sis\slike\s[return\s[uplevel\sfoo]]\sapart\sfrom\ssome\squoting\sissues\sand\sthe\scontext\sin\swhich\s[foo]\sis\sresolved.\s(But\sthere's\sonly\sone\s[next],\sso\sthe\sresolution\swill\sbe\sconsistent.)\sThus,\s[tailcall\snext]\sonly\sworks\sat\sall\swhen\sthe\s_caller_\sof\sthe\sobject\scan\sdo\sa\s[next],\swhich\smeans\sthat\sit\sneeds\sto\sbe\sdone\sinside\sa\smethod\scalled\sfrom\sinside\sa\smethod.\sI'm\sguessing\sthat\sthat's\ssomething\syou\sdon't\sneed.\s:-)\sIt's\scomplaining\sabout\sthe\swrong\s#\sargs\sbecause\sthat's\swhat\sthe\scaller's\snext\smethod\simplementation\swants\s(I\sguess).\n\nSo...\sit\sworks,\sbut\snot\sin\sthe\sway\syou\swould\sreasonably\swant.\s(Remember,\s[next]\seffectively\sdoes\san\s[uplevel]\sinside\sitself\sso\smethods\sdon't\sneed\sto\sknow\sabout\spotential\ssubclasses\soverriding\sthem.\sIt\salso\s_requires_\sthat\sthe\scaller\sbe\san\sobject\smethod\sbody\scontext,\ssince\sit\suses\sthat\sto\sknow\swhat\sis\sgoing\son.)\sTo\sdo\sanything\selse\swould\srequire\steaching\s[tailcall]\sto\sknow\sspecially\sabout\s[next]\sand\svice\sversa,\swhich\swould\sbe\srather\sdisgustingly\snasty.\n
J login dkf
J mimetype text/plain
J resolution Works\sFor\sMe
J status Closed
J username dkf
K 3483088fffffffffffffffffffffffffffffffff
U dkf
Z d0717156943415d3f6813eb35d71f451