Artifacts Associated With Ticket 6d2f249a01
Ticket change [45dd2b565a] (rid 136981) by apnadkarni on 2014-02-21 04:10:00:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
See the following session. Somehow, passing the info class subcommand through a variable confuses info class. As kap points out on the chat, the error message indicates it is looking for an info subcommand as opposed to a info class subcommand. 8.6.0 does not have this problem. (ruff) 18 % oo::class create C ::C (ruff) 27 % info class constructor C (ruff) 28 % set v constructor constructor (ruff) 29 % info class $v C unknown or ambiguous subcommand "constructor": must be args, body, class, cmdcount, commands, complete, coroutine, default, errorstack, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, object, patchlevel, procs, script, sharedlibextension, tclversion, or vars /Ashok
- foundin initialized to: "8.6.1"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "35. TclOO Package"
- title initialized to:
info class subcommands break if passed through variables
- type initialized to: "Bug"
Ticket change [410e033709] (rid 136982) by dkf on 2014-02-21 10:38:38:
- assignee changed to: "dkf"
- icomment:
Reproduced. This is a problem with compilation into nested ensembles. <pre> % disas s {info class constructor c} ByteCode 0x0x10094d710, refCt 1, epoch 95, interp 0x0x100829a10 (epoch 95) Source "info class constructor c" Cmds 1, src 24, inst 7, litObjs 2, aux 0, stkDepth 2, code/src 0.00 Commands 1: 1: pc 0-5, src 0-23 Command 1: "info class constructor c" (0) push1 0 # "::oo::InfoClass::constructor" (2) push1 1 # "c" (4) invokeStk1 2 (6) done % set v constructor constructor % disas s {info class $v c} ByteCode 0x0x1009c9410, refCt 1, epoch 95, interp 0x0x100829a10 (epoch 95) Source "info class $v c" Cmds 1, src 15, inst 18, litObjs 5, aux 0, stkDepth 5, code/src 0.00 Commands 1: 1: pc 0-16, src 0-14 Command 1: "info class $v c" (0) push1 0 # "info" (2) push1 1 # "class" (4) push1 2 # "v" (6) loadStk (7) push1 3 # "c" (9) push1 4 # "::info" (11) invokeReplace 4 2 (17) done </pre> - login: "dkf"
- mimetype: "text/html"
- priority changed to: "8"
- severity changed to: "Severe"
- subsystem changed to: "47. Bytecode Compiler"
- username: "dkf"
Ticket change [4959e5ec4f] (rid 136983) by dkf on 2014-02-21 10:40:15:
- icomment:
(<tt>disas</tt> is a local alias of mine for <tt>tcl::unsupported::disassemble</tt>)
- login: "dkf"
- mimetype: "text/html"
- username: "dkf"
- icomment:
Ticket change [b6b2a5b03d] (rid 137700) by dkf on 2014-04-21 06:08:17:
- icomment:
The actual bug itself was in 8.6.0 I think, but you need a compiled ensemble inside a compiled ensemble to trigger it (which I didn't start defining until 8.6.1).
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- username: "dkf"
- icomment:
Ticket change [2c62cd3f0a] (rid 138062) by dkf on 2014-05-11 10:40:40:
- closedate changed to: "2456788.94491781"
- closer changed to: "dkf"
- icomment:
Handled by making this case be less aggressively compiled. Shouldn't affect most code (and certainly shouldn't affect high-performance code).
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"