Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 410e0337092c079d3675260a972b9682f32c5ead
Ticket: 6d2f249a015a3beafd79c175890b710334c56dec
info class subcommands break if passed through variables
User & Date: dkf on 2014-02-21 10:38:38
Changes

  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"