Skip to content
Tcl Source Code History Of Ticket 6d2f249a01
Login

History Of Ticket 6d2f249a01

Artifacts Associated With Ticket 6d2f249a01

  1. Ticket change [45dd2b565a] (rid 136981) by apnadkarni on 2014-02-21 04:10:00:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. foundin initialized to: "8.6.1"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "apnadkarni"
    13. subsystem initialized to: "35. TclOO Package"
    14. title initialized to:
      info class subcommands break if passed through variables
      
    15. type initialized to: "Bug"
  2. Ticket change [410e033709] (rid 136982) by dkf on 2014-02-21 10:38:38:

    1. assignee changed to: "dkf"
    2. 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>
      
    3. login: "dkf"
    4. mimetype: "text/html"
    5. priority changed to: "8"
    6. severity changed to: "Severe"
    7. subsystem changed to: "47. Bytecode Compiler"
    8. username: "dkf"
  3. Ticket change [4959e5ec4f] (rid 136983) by dkf on 2014-02-21 10:40:15:

    1. icomment:
      (<tt>disas</tt> is a local alias of mine for <tt>tcl::unsupported::disassemble</tt>)
      
    2. login: "dkf"
    3. mimetype: "text/html"
    4. username: "dkf"
  4. Ticket change [b6b2a5b03d] (rid 137700) by dkf on 2014-04-21 06:08:17:

    1. 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).
      
    2. login: "dkf"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "dkf"
  5. Ticket change [2c62cd3f0a] (rid 138062) by dkf on 2014-05-11 10:40:40:

    1. closedate changed to: "2456788.94491781"
    2. closer changed to: "dkf"
    3. icomment:
      Handled by making this case be less aggressively compiled. Shouldn't affect most code (and certainly shouldn't affect high-performance code).
      
    4. login: "dkf"
    5. mimetype: "text/html"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"