Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03509558dbdc013a2abfcf7aa0d6f7580a0060c9
Ticket: 3564735fffffffffffffffffffffffffffffffff
Tcl8.5 + incrTcl3.4 [variable] crash
User & Date: dgp on 2012-09-06 23:08:20
Changes

  1. icomment:
    
    Here's a demonstration of a related flaw:
    
    package require Itcl
    itcl::class Dog {
    method bark {}
    }
    itcl::body Dog::bark {} {
    variable bite
    }
    Dog fido
    fido bark
    
    can't upvar from variable to itself
        while executing
    "variable bite"
        (object "::fido" method "::Dog::bark" body line 2)
        invoked from within
    "fido bark"
    
    These two together indicate some ways in which
    the Itcl custom resolvers aren't quite meeting core
    expectations.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"