Error processing request
Parameters
CONTENT_LENGTH | 0 |
REQUEST_METHOD | GET |
REQUEST_URI | /revision/tailcall?V=8 |
QUERY_STRING | V=8 |
CONTENT_TYPE | |
DOCUMENT_URI | /revision/tailcall |
DOCUMENT_ROOT | /var/www/nikit/nikit/nginx/../docroot |
SCGI | 1 |
SERVER_PROTOCOL | HTTP/1.1 |
HTTPS | on |
REMOTE_ADDR | 172.69.7.73 |
REMOTE_PORT | 20706 |
SERVER_PORT | 4443 |
SERVER_NAME | wiki.tcl-lang.org |
HTTP_HOST | wiki.tcl-lang.org |
HTTP_CONNECTION | Keep-Alive |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_X_FORWARDED_FOR | 3.134.118.95 |
HTTP_CF_RAY | 87f0cb36ab9d6194-ORD |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected]) |
HTTP_CF_CONNECTING_IP | 3.134.118.95 |
HTTP_CDN_LOOP | cloudflare |
HTTP_CF_IPCOUNTRY | US |
Body
Error
Unknow state transition: LINE -> END
-code
1
-level
0
-errorstack
INNER {returnImm {Unknow state transition: LINE -> END} {}} CALL {my render_wikit tailcall Like\ `\[uplevel\]\ 1`\ except\ that\ it\ also\ causes\ the\ current\ scope\ to\ terminate,\ though\ the\ command\ is\ looked\ up\ in\ the\ current\ context\ first.\ Consequence\ of\ \[NRE\].\n\n\n\n\n\n\ proc\ fred\ \{\}\ \{\n\ \ \ \ \ george\n\ \}\nproc\ george\ \{\}\ \{\n\ proc\ george\ \{\}\ \{\n\ \ \ \ \ \ tailcall\ harry\n\ \}\n\nIf\ I\ call\ fred,\ it's\ almost\ as\ though\ fred\ called\ harry\ directly,\ instead\ of\ george.\ \ Not\ so?\n\[MS\]:\ \ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\n\[MS\]\ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\ called.\ Now,\ if\ harry\ resolves\ to\ a\ different\ command\ in\ george's\ current\ namespace\ than\ it\ would\ under\ fred's,\ the\ harry\ that\ is\ called\ is\ george's\ and\ not\ fred's\ (no\ diff\ if\ the\ commands\ are\ FQ,\ of\ course).\nI\ think\ this\ does\ pretty\ much\ what\ delegation\ is\ supposed\ to\ do,\ right?\n\n----\n\n\[AMG\]:\ Sounds\ a\ lot\ like\ '''exec'''\ in\ \[Unix\ shells\].\n\[AMG\]:\ Sounds\ a\ lot\ like\ `exec`\ in\ \[Unix\ shells\].\ \ See\ \[execline\]\ for\ more\n----\nSee\ also\ \[TIP\]#\[http://tip.tcl.tk/327%|%327\]\n\n----\n***Interaction\ with\ \[try\]***\n===\n'''%'''\ proc\ foo\ \{\}\ \{puts\ \"I'm\ foo\"\}\n'''%'''\ proc\ bar\ \{\}\ \{puts\ \"I'm\ bar\"\;\ try\ \{\ tailcall\ foo\ \}\ finally\ \{\ puts\ \"exitting\"\ \}\}\n''I'm\ foo''\nI'm\ foo\n''I'm\ bar''\nI'm\ bar\nexitting\nI'm\ foo\n31-03-2015\ \[HE\]\ I'm\ sure\ \;-)\ that\ I\ don't\ understood\ what\ happend\ there.\ Why\ \"exiting\"\ is\ printed\ before\ \"I'm\ foo\"\ when\ I\ call\ bar?\n\n\[wdb\]:\ Apparently,\ the\ `tailcall`\ closes\ one\ of\ the\ last\ gaps\ in\n!!!!!!\n%|\ \[Category\ Command\]\ |%\n!!!!!! regexp2} CALL {my render tailcall Like\ `\[uplevel\]\ 1`\ except\ that\ it\ also\ causes\ the\ current\ scope\ to\ terminate,\ though\ the\ command\ is\ looked\ up\ in\ the\ current\ context\ first.\ Consequence\ of\ \[NRE\].\n\n\n\n\n\n\ proc\ fred\ \{\}\ \{\n\ \ \ \ \ george\n\ \}\nproc\ george\ \{\}\ \{\n\ proc\ george\ \{\}\ \{\n\ \ \ \ \ \ tailcall\ harry\n\ \}\n\nIf\ I\ call\ fred,\ it's\ almost\ as\ though\ fred\ called\ harry\ directly,\ instead\ of\ george.\ \ Not\ so?\n\[MS\]:\ \ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\n\[MS\]\ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\ called.\ Now,\ if\ harry\ resolves\ to\ a\ different\ command\ in\ george's\ current\ namespace\ than\ it\ would\ under\ fred's,\ the\ harry\ that\ is\ called\ is\ george's\ and\ not\ fred's\ (no\ diff\ if\ the\ commands\ are\ FQ,\ of\ course).\nI\ think\ this\ does\ pretty\ much\ what\ delegation\ is\ supposed\ to\ do,\ right?\n\n----\n\n\[AMG\]:\ Sounds\ a\ lot\ like\ '''exec'''\ in\ \[Unix\ shells\].\n\[AMG\]:\ Sounds\ a\ lot\ like\ `exec`\ in\ \[Unix\ shells\].\ \ See\ \[execline\]\ for\ more\n----\nSee\ also\ \[TIP\]#\[http://tip.tcl.tk/327%|%327\]\n\n----\n***Interaction\ with\ \[try\]***\n===\n'''%'''\ proc\ foo\ \{\}\ \{puts\ \"I'm\ foo\"\}\n'''%'''\ proc\ bar\ \{\}\ \{puts\ \"I'm\ bar\"\;\ try\ \{\ tailcall\ foo\ \}\ finally\ \{\ puts\ \"exitting\"\ \}\}\n''I'm\ foo''\nI'm\ foo\n''I'm\ bar''\nI'm\ bar\nexitting\nI'm\ foo\n31-03-2015\ \[HE\]\ I'm\ sure\ \;-)\ that\ I\ don't\ understood\ what\ happend\ there.\ Why\ \"exiting\"\ is\ printed\ before\ \"I'm\ foo\"\ when\ I\ call\ bar?\n\n\[wdb\]:\ Apparently,\ the\ `tailcall`\ closes\ one\ of\ the\ last\ gaps\ in\n!!!!!!\n%|\ \[Category\ Command\]\ |%\n!!!!!!} CALL {my revision tailcall} CALL {::oo::Obj6039041 process revision/tailcall} CALL {::oo::Obj6039039 process}
-errorcode
NONE
-errorinfo
Unknow state transition: LINE -> END
while executing
"error $msg"
(class "::Wiki" method "render_wikit" line 6)
invoked from within
"my render_$default_markup $N $C $mkup_rendering_engine"
(class "::Wiki" method "render" line 8)
invoked from within
"my render $name $C"
(class "::Wiki" method "revision" line 31)
invoked from within
"my revision $page"
(class "::Wiki" method "process" line 56)
invoked from within
"$server process [string trim $uri /]"
-errorline
4