Overview
| Artifact ID: | e348ca4e953c1e39eb142b43e263010c6e9f0bd3 |
|---|---|
| Ticket: | 735055ffffffffffffffffffffffffffffffffff
compile-3.5 improper test |
| User & Date: | dgp on 2003-05-09 06:40:53 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Test compile-3.5 was added to check that Bug 705496 was fixed. Indeed the panic reported there no longer happens. But look at the test: test compile-3.5 {...} { proc foo {} { catch { if {[a]} { if b {} } } } list [catch foo msg] $msg } {1 {invalid command name "a"}} Shouldn't the correct result be {0 1} and not {1 {invalid command name "a"}} ? Since the test currently passes, it seems that in fact [foo] is not producing the correct result. I believe that saving/restoring envPtr->codeNext in addition to envPtr->numCommands (done to fix Bug 705496) will make the test fail, but make the code do the correct thing. - foundin changed to: "obsolete: 8.4.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "compile-3.5 improper test"
- type changed to: "Bug"