Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b22fb677f46e7f1d73801df44177616e7aa0fbf1
Ticket: 3075155fffffffffffffffffffffffffffffffff
oo depends on bytecoding?
User & Date: msofer on 2010-09-24 22:03:10
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When I disable the command compiler (juts add '0&&' at the start of the condition in tclCompile.c line 1639), there is a nasty-looking error:
    
    ==== oo-27.6 variables declaration - non-interference of levels FAILED
    ==== Contents of test case:
    
        oo::class create foo {
    superclass master
    variable x!
    constructor {} {set x! 1}
    method y {} {incr x!}
        }
        foo create bar
        oo::objdefine bar {
    variable y!
    method y {} {list [next] [incr y!] [info var] [info local]}
    export eval
        }
        bar y
        list [bar y] [lsort [info object vars bar]] [bar eval {info vars *!}]
    
    ---- Result was:
    {3 2 {} {}} {x! y!} {x! y!}
    ---- Result should have been (exact matching):
    {3 2 y! {}} {x! y!} {x! y!}
    ==== oo-27.6 FAILED
    
    There is also a segfault in itcl's typeoption.test, which may well be related.
    
    The build is configured as 
      CFLAGS=-DPURIFY ./configure --disable-shared --enable-symbols
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "8"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "oo depends on bytecoding?"
  12. type changed to: "Bug"