Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aaece0a8c5f39e3a98911070deeb44d72a2b8e69
Ticket: 2704302fffffffffffffffffffffffffffffffff
Incorrect return value from self class
User & Date: abstractsig on 2009-03-22 21:55:39
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    With active state tcl 8.6b1.1 on windows vista the following code:
    
    package require TclOO
    namespace path ::oo
    class create A {
    method change_class {new} {
    oo::objdefine [self] class $new
    list [self class] [info object class [self]]
    }
    }
    class create B {}
    set o [A new]
    puts [$o change_class B]
    
    outputs:
    
    ::A ::B
    
    but should output
    
    ::B ::B
    
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "abstractsig"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "Incorrect return value from self class"
  12. type changed to: "Bug"