Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5eef85119d45734c692e4307c7069bb7e76320d0
Ticket: 2037338fffffffffffffffffffffffffffffffff
TEBC direct eval fallback mishandles -errorinfo
User & Date: dgp on 2008-08-04 04:35:15
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    This new test fails in 8.5 and later:
    
    test execute-8.4 {Compile epoch bump effect on stack trace} -setup {
        proc foo {} {
            error bar
        }
        proc FOO {} {
            catch {error bar} m o
            rename ::set ::dummy
            rename ::dummy ::set
            return -options $o $m
        }
    } -body {
        catch foo m o
        set stack1 [dict get $o -errorinfo]
        catch FOO m o
        set stack2 [string map {FOO foo} [dict get $o -errorinfo]]
        expr {$stack1 eq $stack2 ? {} : "These differ:\n$stack1\n$stack2"}
    } -cleanup {
        rename foo {}
        rename FOO {}
    } -result {}
    
    Bug was uncovered tracking down Bug
    2023112 on the HEAD which involved
    the new TclOO code.  This test confirms
    the bug doesn't require OO as a trigger.
    
    
  4. foundin changed to: "obsolete: 8.5.3"
  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: "dgp"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "TEBC direct eval fallback mishandles -errorinfo"
  12. type changed to: "Bug"