Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 948eca4e0165f2656569597192727636383b1af0
Ticket: 3485060fffffffffffffffffffffffffffffffff
TclOO: variables not copied when mixins are copied
User & Date: dkf on 2012-02-13 07:24:47
Changes

  1. icomment:
    Try the attached patch (or look on the development-rfe3485060 of the tcloo project: http://core.tcl.tk/tcloo/) which should now copy variables and procedures. I'd appreciate review; there may be things that should be copied by default which I've forgotten. (Note that non-procedure commands and sub-namespaces will definitely _not_ be copied by default, the former because that's super-hard and the latter because there's now a mechanism for adding it when necessary. I also don't copy traces of any kind.)
    
    It's *possible* that the patch won't apply cleanly to the main Tcl 8.6 trunk right now (well, excluding the ChangeLog entry of course). The codebases are close, but not identical.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"