Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2b83f6b21c4467f8c21a50a8a14227d6782469fb
Ticket: 3611641fffffffffffffffffffffffffffffffff
superclass method does not get exportet
User & Date: tombert on 2013-04-23 09:30:31
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Considering this example here: 
    
    oo::class create B { 
       variable bvar 
       constructor args {set bvar "fromB"} 
       method getBvar args {return $bvar} 
    } 
    
    oo::class create A { 
       superclass B 
       variable avar 
       constructor args {set avar "fromA"} 
       method getAvar args {return $avar} 
    } 
    
    Without putting the "next" statement into the constructor of A it is impossible to call methods from class B: 
    
    > set a [A new] 
    ::oo::Obj92 
    > $a getAvar 
    fromA 
    > $a getBvar 
    invalid command name "getBvar" 
    
    
    
    thx
    
    
  4. foundin changed to: "current: 8.6.0"
  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: "tombert"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "superclass method does not get exportet"
  12. type changed to: "Bug"