Overview
| Artifact ID: | 486acad5b2df78bdee0118da98aa6ed9f308c6b6 |
|---|---|
| Ticket: | 218993ffffffffffffffffffffffffffffffffff
return -code error blurb behaves wrong in auto loaded file |
| User & Date: | nobody on 2000-10-26 01:09:03 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3707 Bug Version: 8.0.5 SubmitDate: '1999-11-29' LastModified: '2000-01-31' Severity: MED Status: Released Submitter: techsupp ChangedBy: ericm OS: Linux OSVersion: Linux Gauss 2.0.31 #4 Wed Aug 26 20:26:05 MET DST 1998 i586 Machine: P75 FixedDate: '2000-01-31' FixedInVersion: 8.1.1 ClosedDate: '2000-10-25' Name: Harald Kirsch Comments: The error does not show up on 8.0.4. ReproducibleScript: To reproduce the error, two scripts are necessary. --------------------------------------------- ## This file must be called `bla' package provide bug 1.0 proc bug {} { return -code error arrrgh } -------------------------------------------- ## This file can have any name, say `bli' lappend auto_path . pkg_mkIndex . bla package require bug if {[catch {bug} err]} { puts "This is [info patchlevel]." puts "The `$err' should not have been printed two lines above." } else { puts "This should not happen" } ------------------------------------------ Store both files in the same directory and run the latter in tclsh from that directory. ObservedBehavior: The output on my machine looks like: ... arrrgh This is 8.0.5. The `arrrgh' should not have been printed two lines above. Obviously, the first `arrrgh' is wrong. The return command in `bla' produces some output on the console. DesiredBehavior: The return command is not supposed to produce output on the console. This bug does not appear in 8.3. I cannot say with any high degree of certainty precisely when it was fixed. - eric -- 01/31/2000 ericm - foundin changed to: "final: 8.0.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "56. LibTomMath"
- title changed to:
return -code error blurb behaves wrong in auto loaded file
- type changed to: "Bug"