.
D 2006-11-05T12:32:54
J assignee dkf
J cmimetype text/plain
J comment The\sidiom\s[uplevel\s1\s[info\slevel\s0]]\sfails\sto\scall\sthe\ncurrently\sexecuting\sproc\sin\ssome\scorner\scases\s[Bug\n1590483].\sNote\sthat\sthis\scan\sbe\sfixed\sby\sletteing\n[interp\salias]\suse\sfully\squalified\snames.\n\nShould\sTIP\s283\spass,\sthe\sidiom\sbreakage\swill\sbe\smore\nwidespread:\sit\swill\snot\swork\sat\sall\sfor\sprocs\nimplementing\sensemble\ssubcommands,\sexcept\sin\sthe\srarest\nof\soccasions:\sthe\sensemble\scommand\sis\scalled\sfrom\nwithin\sthe\sensemble's\snamespace,\sor\sfrom\sa\snamespace\nthat\shas\sthe\sensemble's\sin\sits\sresolution\spath\s(and\sis\nnot\sshadowed).\n\nThe\sattached\spatch\sprovides\sa\snew\s[info\scall]\nsubcommand\sthat\sfunctions\slike\s[info\slevel].\sThe\ndifference\sbetween\sthe\stwo\sis\sthat,\swhen\sa\scommand\sis\nrewritten\sprior\sto\sinvocation\s(by\san\salias\sor\nensemble),\s[info\slevel\sn]\sreturns\sthe\sfully\srewritten\ncommand\s(as\sinvoked\sin\sthe\score),\swhereas\s[info\scall\sn]\nreturns\sthe\soriginal\scommand\sas\spresent\sin\sthe\ssource,\nafter\ssubstitutions\sbut\sbefore\srewrites\s(as\scalled\sby\nthe\suser).\n\nThis\sis\suseful\sfor\stwo\sreasons:\n\s\s-\sto\sprovide\sa\sway\sto\scall\sthe\scurrently\sexecuting\nproc\sagain,\susing\s[uplevel\s1\s[info\scall\s0]]\n\s\s-\sto\sprovide\sa\sway\sfor\sprocs\sto\sproduce\smeaningful\nerror\sreports\sthat\srefer\sto\swhat\sthe\suser\swrote\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 17.\sCommands\sI-L
J title new\s[info\scall]\scommand
J type RFE
K 1590790fffffffffffffffffffffffffffffffff
U msofer
Z 3225e20603aed9a9b1f7d87830f9bf24