Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 35e2d3d580b148b908e021a20d9eb60624c18096
Ticket: 1895546fffffffffffffffffffffffffffffffff
Problem with method caching
User & Date: wiede on 2008-02-17 19:08:04
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    There seems to be a problem with method caching in the case of mapping method names, if there is no real mapping done:
    
    tclOO.c
    
    if (oPtr->mapMethodNameProc != NULL) {
    :    
    methodNamePtr = Tcl_DuplicateObj(methodNamePtr);
    :
    }
    
    because of the call to Tcl_DuplicateObj there is no stashing as it seems to me, because 
    
    TclOOStashContext(methodNamePtr, contextPtr);
    
    uses the newly created methodNamePtr.
    
  4. foundin changed to: "None"
  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: "wiede"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "Problem with method caching"
  12. type changed to: "Bug"